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

Upgrade of pravega cluster is failing intermittently #632

Closed
anishakj opened this issue Jul 18, 2022 · 0 comments · Fixed by #633
Closed

Upgrade of pravega cluster is failing intermittently #632

anishakj opened this issue Jul 18, 2022 · 0 comments · Fixed by #633
Assignees

Comments

@anishakj
Copy link
Contributor

Description

Upgrade of pravega cluster is failing intermittently. In operator logs, seeing below output

time="2022-06-23T13:56:25Z" level=info msg="syncing cluster version from 0.10.2-3029.0cbd9f1e9 to 0.11.1-3069.fce1f9718"
time="2022-06-23T13:56:25Z" level=info msg="Reconciling PravegaCluster store-ns/openshift-upgrade-pvg\n"
time="2022-06-23T13:56:25Z" level=info msg="updating statefulset (openshift-upgrade-pvg-pvg-seg) template image to 'asdrepo.isus.emc.com:8099/pravega:0.11.1-3069.fce1f9718'"
time="2022-06-23T13:56:25Z" level=info msg="Reconciling PravegaCluster store-ns/openshift-upgrade-pvg\n"
time="2022-06-23T13:56:25Z" level=info msg="statefulset (openshift-upgrade-pvg-pvg-seg) status: 4 updated, 4 ready, 4 target"
time="2022-06-23T13:56:25Z" level=info msg="segmentstore version sync has been completed"
time="2022-06-23T13:56:25Z" level=info msg="updating deployment (openshift-upgrade-pvg-pravega-controller) pod template image to 'asdrepo.isus.emc.com:8099/pravega:0.11.1-3069.fce1f9718'"
time="2022-06-23T13:56:25Z" level=info msg="failed to reconcile pravega cluster (openshift-upgrade-pvg): failed to reconcile cluster status: failed to update cluster status: Operation cannot be fulfilled on pravegaclusters.pravega.pravega.io \"openshift-upgrade-pvg\": the object has been modified; please apply your changes to the latest version and try again"
{"level":"error","ts":1655992585.9127045,"logger":"controller.pravegacluster","msg":"Reconciler error","reconciler group":"pravega.pravega.io","reconciler kind":"PravegaCluster","name":"openshift-upgrade-pvg","namespace":"store-ns","error":"failed to reconcile cluster status: failed to update cluster status: Operation cannot be fulfilled on pravegaclusters.pravega.pravega.io \"openshift-upgrade-pvg\": 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/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227"}
time="2022-06-23T13:56:25Z" level=info msg="Reconciling PravegaCluster store-ns/openshift-upgrade-pvg\n"
time="2022-06-23T13:56:26Z" level=info msg="statefulset (openshift-upgrade-pvg-pvg-seg) status: 4 updated, 4 ready, 4 target"
time="2022-06-23T13:56:26Z" level=info msg="segmentstore version sync has been completed"
time="2022-06-23T13:56:26Z" level=info msg="deployment (openshift-upgrade-pvg-pravega-controller) status: 2 updated, 2 ready, 2 target"
time="2022-06-23T13:56:26Z" level=info msg="controller version sync has been completed"

Importance

must-have

Location

upgrade.go

Suggestions for an improvement

Handle upgrade in this scenario as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant