Closed cathelijne closed 2 weeks ago
An issue with operator start was fixed at chart version v0.24.1:
vm/victoria-metrics-k8s-stack 0.24.1 v1.101.0
I just upgraded to v0.24.1 and this is still happening.
I just upgraded to v0.24.1 and this is still happening.
It's really weird, for some reason argocd doesn't apply changes to operator deployment definition. New version doesn't have command
specification for operator's container.
Yes, I can confirm that we're deploying using Argo CD and that's where we're seeing it.
@k1rk @Haleygo maybe you could help, is any additional option required to be set for argocd? Maybe sync policy?
I just upgraded to v0.24.1 and this is still happening.
It's really weird, for some reason argocd doesn't apply changes to operator deployment definition. New version doesn't have
command
specification for operator's container.
This had me thinking...
I 'upgraded' to 0.24.1 in the argocd app and the operator failed to start again with the message that 'command' is not found in the $PATH. Looking at the applied deployment manifest for 0.23.5 shows a command
entry in the container spec.
I then searched for 'command:' in the argocd chart commits, but never found it. Before digging too deep, I decided to have a look at not only the live, but also the desired manifest in argocd.
The applied (i.e. live) manifest for 0.23.5 has a command:
entry in the container spec.
The desired manifest for 0.24.1 does not have this, yet it doesn't show up in the diff between the two operator versions. The diff is completely empty, even.
Deleting the operator deployment from argocd and then sync it again applies the correct manifest and install 0.46.4 as intended.
All in all, this looks more like an issue with argocd than a bug in the chart. It should have shown up in the diff.
Edit: I found issue (https://github.com/argoproj/argo-cd/issues/19015) in the argocd repo. I am indeed using server side apply for my vm k8s stack chart.
@dhess Could you try force sync on argocd side? As @cathelijne's comment, argocd might didn't apply the changed command to operator deployment.
@Haleygo Force sync didn't work and resulted in the same error.
However, after I deleted the deployment from the Argo CD UI, the recreated deployment worked fine, so I'm up and running with v0.24.2 of the chart. Thanks!
Closing this as there is no bug on chart. For users who have the same issue after update, please delete the operator deployment and re-deploy.
Helm chart 0.24.*, deploying from argocd.
kube server: v1.27.7+k3s2 argocd: v2.10.12+cb6f5ac operator: v0.46.3
reverting back to helm release 0.23.5 works fine
(sorry for reporting by screenshot, I had already pushed the revert commit for argo to use when it dawned on me I should probably report this)