Merged
Conversation
397c9b8 to
5ee49a1
Compare
5ee49a1 to
4b03620
Compare
f41gh7
requested changes
Nov 7, 2025
Collaborator
f41gh7
left a comment
There was a problem hiding this comment.
Please fix test:
[FAILED] Timed out after 80.001s.
Expected success, but got an error:
<*errors.errorString | 0xc000fe26d0>:
not expected object status="failed", reason="cannot reconcile sts for vmagent(0): cannot handle rolling-update on sts: vmagent-stateful-shard-0, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration",conditions=
{
s: "not expected object status=\"failed\", reason=\"cannot reconcile sts for vmagent(0): cannot handle rolling-update on sts: vmagent-stateful-shard-0, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration\",conditions=",
}
In [It] at: /home/runner/work/operator/operator/test/e2e/vmagent_test.go:431 @ 11/07/25 09:05:17.698
------------------------------
•••••
------------------------------
• [FAILED] [293.420 seconds]
test vmanomaly Controller e2e vmanomaly should update exist vmanomaly [It] by switching to shard mode [vm, anomaly, enterprise]
/home/runner/work/operator/operator/test/e2e/vmanomaly_test.go:329
[FAILED] Timed out after 240.001s.
Expected success, but got an error:
<*errors.errorString | 0xc0003879b0>:
not expected object status="failed", reason="cannot handle rolling-update on sts: vmanomaly-shard-0, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration\ncannot handle rolling-update on sts: vmanomaly-shard-1, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration",conditions=
{
s: "not expected object status=\"failed\", reason=\"cannot handle rolling-update on sts: vmanomaly-shard-0, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration\\ncannot handle rolling-update on sts: vmanomaly-shard-1, err: actual pod count: 0 less than needed: 1, possible statefulset misconfiguration\",conditions=",
}
Collaborator
|
Thanks for contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
moved common sharding logic into build package
extracted from #1554