Description of problem (please be detailed as possible and provide log snippests): odf-csi-addons-operator failed with OwnNamespace InstallModeType not supported. Version of all relevant components (if applicable): openshift installer (4.13.0-0.nightly-2022-12-23-223710) ocs-registry:4.13.0-7 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Yes Is there any workaround available to the best of your knowledge? NA Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? 1/1 Can this issue reproduce from the UI? Not tried If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. install ODF 4.13 using ocs-ci 2. check all csv's are in Succeeded state 3. Actual results: $ oc get csv NAME DISPLAY VERSION REPLACES PHASE mcg-operator.v4.13.0-5.stable NooBaa Operator 4.13.0-5.stable Succeeded ocs-operator.v4.13.0-7.stable OpenShift Container Storage 4.13.0-7.stable Succeeded odf-csi-addons-operator.v4.13.0-7.stable CSI Addons 4.13.0-7.stable Failed odf-operator.v4.13.0-7.stable OpenShift Data Foundation 4.13.0-7.stable Succeeded Expected results: All CSV's should be succeeded phase Additional info: $ oc describe csv odf-csi-addons-operator.v4.13.0-7.stable Name: odf-csi-addons-operator.v4.13.0-7.stable Namespace: openshift-storage Labels: operators.coreos.com/odf-csi-addons-operator.openshift-storage= Annotations: alm-examples: [] capabilities: Basic Install olm.operatorGroup: openshift-storage-operatorgroup olm.operatorNamespace: openshift-storage olm.skipRange: >=4.2.0 <4.13.0-7.stable olm.targetNamespaces: openshift-storage operatorframework.io/properties: {"properties":[{"type":"olm.gvk","value":{"group":"csiaddons.openshift.io","kind":"CSIAddonsNode","version":"v1alpha1"}},{"type":"olm.gvk"... operators.operatorframework.io/builder: operator-sdk-unknown operators.operatorframework.io/operator-type: non-standalone operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 API Version: operators.coreos.com/v1alpha1 Kind: ClusterServiceVersion Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning UnsupportedOperatorGroup 56m operator-lifecycle-manager OwnNamespace InstallModeType not supported, cannot configure to watch own namespace job: https://url.corp.redhat.com/4d737fd must gather: https://url.corp.redhat.com/a0c94ef
The install mode of the CSV needs to be changed From ``` installModes: - supported: false type: OwnNamespace - supported: false type: SingleNamespace - supported: false type: MultiNamespace - supported: true type: AllNamespaces ``` To ``` installModes: - supported: true type: OwnNamespace - supported: true type: SingleNamespace - supported: false type: MultiNamespace - supported: false type: AllNamespaces ``` Moving it to the CSI addons
Verified with below build: ocs-registry:4.13.0-197 Deployment succeeded with above build. NAME DISPLAY VERSION REPLACES PHASE mcg-operator.v4.13.0-197.stable NooBaa Operator 4.13.0-197.stable Succeeded ocs-operator.v4.13.0-197.stable OpenShift Container Storage 4.13.0-197.stable Succeeded odf-csi-addons-operator.v4.13.0-197.stable CSI Addons 4.13.0-197.stable Succeeded odf-operator.v4.13.0-197.stable OpenShift Data Foundation 4.13.0-197.stable Succeeded job: https://url.corp.redhat.com/620e435 must gather: https://url.corp.redhat.com/e747a86
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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement 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/RHBA-2023:3742