Bug 1991822
| Summary: | ocs-operator.v4.9.0-53.ci: install strategy failed with "noobaa-operator" is invalid | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Vijay Avuthu <vavuthu> |
| Component: | Multi-Cloud Object Gateway | Assignee: | Danny <dzaken> |
| Status: | CLOSED ERRATA | QA Contact: | Raz Tamir <ratamir> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9 | CC: | bniver, branto, dzaken, etamir, jijoy, kramdoss, lmauda, madam, muagarwa, ocs-bugs, odf-bz-bot, sostapov, uchapaga |
| Target Milestone: | --- | Keywords: | Automation, Regression, TestBlocker |
| Target Release: | ODF 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | v4.9.0-91.ci | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-13 17:44:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Vijay Avuthu
2021-08-10 06:12:21 UTC
Adding NI on Danny and Liran for https://bugzilla.redhat.com/show_bug.cgi?id=1991822#c5 this is indeed a result of the csv changes for 4.9. I'll issue a fix Update: =========== > tested with ocs-registry:4.9.0-91.ci and openshift installer (4.9.0-0.nightly-2021-08-16-154237) on vSphere platform > During verification phase, csv is still in installing phase $ oc get csv NAME DISPLAY VERSION REPLACES PHASE ocs-operator.v4.9.0-91.ci OpenShift Container Storage 4.9.0-91.ci Installing > $ oc describe csv ocs-operator.v4.9.0-91.ci Name: ocs-operator.v4.9.0-91.ci Namespace: openshift-storage Labels: olm.api.1cf66995ee5bab83=provided olm.api.345775c37f11b6ca=provided olm.api.38cd97520e769cdd=provided Last Transition Time: 2021-08-17T13:01:51Z Last Update Time: 2021-08-17T13:01:51Z Message: installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability. Phase: Installing Reason: InstallWaiting Last Transition Time: 2021-08-17T13:01:51Z Last Update Time: 2021-08-17T13:01:51Z Message: installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability. Phase: Installing Reason: InstallWaiting Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal RequirementsUnknown 114m (x3 over 115m) operator-lifecycle-manager requirements not yet checked Normal RequirementsNotMet 114m (x2 over 114m) operator-lifecycle-manager one or more requirements couldn't be found Normal InstallWaiting 114m (x2 over 114m) operator-lifecycle-manager installing: waiting for deployment rook-ceph-operator to become ready: deployment "rook-ceph-operator" not available: Deployment does not have minimum availability. Normal InstallSucceeded 114m operator-lifecycle-manager install strategy completed with no errors Warning ComponentUnhealthy 113m (x2 over 113m) operator-lifecycle-manager installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability. Normal NeedsReinstall 113m (x2 over 113m) operator-lifecycle-manager installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability. Normal AllRequirementsMet 113m (x5 over 114m) operator-lifecycle-manager all requirements found, attempting install Normal InstallSucceeded 113m (x4 over 114m) operator-lifecycle-manager waiting for install components to report healthy Normal InstallWaiting 113m (x4 over 114m) operator-lifecycle-manager installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability. Warning InstallCheckFailed 115s (x38 over 108m) operator-lifecycle-manager install timeout > olm logs $ oc logs olm-operator-657ccf864b-jrps2 -n openshift-operator-lifecycle-manager {"level":"error","ts":1629205615.7535024,"logger":"controllers.operator","msg":"Could not update Operator status","request":"/ocs-operator.openshift-storage","error":"Operation cannot be fulfilled on operators.o perators.coreos.com \"ocs-operator.openshift-storage\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/cont roller.(*Controller).reconcileHandler\n\t/build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWo rkItem\n\t/build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/build/vendor/sigs.k8s.io/c ontroller-runtime/pkg/internal/controller/controller.go:214"} time="2021-08-17T13:06:55Z" level=info msg="install strategy successful" csv=ocs-operator.v4.9.0-91.ci id=y9WC8 namespace=openshift-storage phase=Installing strategy=deployment {"level":"error","ts":1629205615.8934119,"logger":"controllers.operator","msg":"Could not update Operator status","request":"/ocs-operator.openshift-storage","error":"Operation cannot be fulfilled on operators.o perators.coreos.com \"ocs-operator.openshift-storage\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/cont roller.(*Controller).reconcileHandler\n\t/build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWo rkItem\n\t/build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/build/vendor/sigs.k8s.io/c ontroller-runtime/pkg/internal/controller/controller.go:214"} Job: https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/5292/consoleFull must gather: http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/vavuthu4-ocs49/vavuthu4-ocs49_20210817T101113/logs/failed_testcase_ocs_logs_1629196536/test_deployment_ocs_logs/ correcting the status Is this still failing on Noobaa, I can't see the messages which say so or I am missing something? This looks more similar to https://bugzilla.redhat.com/show_bug.cgi?id=1994261 (In reply to Mudit Agarwal from comment #13) > Is this still failing on Noobaa, I can't see the messages which say so or I > am missing something? > > This looks more similar to > https://bugzilla.redhat.com/show_bug.cgi?id=1994261 Its not failing on Noobaa. but csv is still installing phase If its not failing on Noobaa then this is a different issue (please open) or a duplicate of BZ #1994261 This is not the same issue, moving it back to ON_QA. Please open a new issue. Raised new bug for ocs-operator issue.( https://bugzilla.redhat.com/show_bug.cgi?id=1994687 ) Hence closing this issue. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:5086 |