Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zookeeper fails to upgrade after upgrading operator #626

Open
kobo-gcyre opened this issue Sep 20, 2023 · 0 comments
Open

Zookeeper fails to upgrade after upgrading operator #626

kobo-gcyre opened this issue Sep 20, 2023 · 0 comments
Labels
bug Something isn't working zookeeper Related to Zookeeper or the Zookeeper Operator

Comments

@kobo-gcyre
Copy link

After upgrading the solr operator to 0.7.1 the zookeeper operator doesn't upgrade the zookeeper pods. found these errors in the logs

{"level":"error","ts":1694631591.8541024,"msg":"Reconciler error","controller":"zookeepercluster","controllerGroup":"zookeeper.pravega.io","controllerKind":"ZookeeperCluster","zookeeperCluster":{"name":"solr-stage-solrcloud-zookeeper","namespace":"solr-stage"},"namespace":"solr-stage","name":"solr-stage-solrcloud-zookeeper","reconcileID":"80330bbc-7a87-41db-9e5b-0d06a74c40fc","error":"Operation cannot be fulfilled on zookeeperclusters.zookeeper.pravega.io \"solr-stage-solrcloud-zookeeper\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234"}

zookeeper operator pod is using 0.2.15

 Image:         pravega/zookeeper-operator:0.2.15

but statefulset is using an older version

image: pravega/zookeeper:0.2.13

after the operator upgrade why are those errors showing up?
why doesn't the zookeeper operator update the version in the statefulset?

@HoustonPutman HoustonPutman added bug Something isn't working zookeeper Related to Zookeeper or the Zookeeper Operator labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working zookeeper Related to Zookeeper or the Zookeeper Operator
Projects
None yet
Development

No branches or pull requests

2 participants