Bug 2156519 - 4.13: odf-csi-addons-operator failed with OwnNamespace InstallModeType not supported
Summary: 4.13: odf-csi-addons-operator failed with OwnNamespace InstallModeType not su...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: csi-addons
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.13.0
Assignee: Rakshith
QA Contact: Pratik Surve
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-27 08:59 UTC by Vijay Avuthu
Modified: 2023-08-09 16:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-21 15:22:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github csi-addons kubernetes-csi-addons pull 286 0 None Merged build: support OwnNamespace installMode type 2023-03-08 06:25:32 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:23:42 UTC

Description Vijay Avuthu 2022-12-27 08:59:45 UTC
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

Comment 2 Nitin Goyal 2022-12-27 15:41:36 UTC
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

Comment 18 Vijay Avuthu 2023-05-18 05:39:08 UTC
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

Comment 21 errata-xmlrpc 2023-06-21 15:22:55 UTC
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


Note You need to log in before you can comment on or make changes to this bug.