Bug 2019282 - [IBM]Need to update configmap odf-operator-manager-config for IBM storage odf operator GA
Summary: [IBM]Need to update configmap odf-operator-manager-config for IBM storage odf...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ODF 4.9.0
Assignee: Boris Ranto
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-02 03:10 UTC by Bob Liu
Modified: 2023-08-09 17:00 UTC (History)
8 users (show)

Fixed In Version: 4.9.0-219.ci
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-07 17:46:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Bob Liu 2021-11-02 03:10:15 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Current configmap odf-operator-manager-config used incorrect IBM_SUBSCRIPTION_CATALOGSOURCE, we need to update it to below ASAP, thanks.

  IBM_SUBSCRIPTION_CATALOGSOURCE: certified-operators
  IBM_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace

Version of all relevant components (if applicable):
4.9

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes, the product will be GAed within one month, we need to use official catalogsource(not only internal) to test one time at least.

Is there any workaround available to the best of your knowledge?
No

Actual results:
Current testing only use internal catalogsource


Expected results:
Test official catalogsource to confirm working fine before GA

Comment 3 Nitin Goyal 2021-11-03 06:10:55 UTC
@branto Can you pls export these variables in the odf-operator in DS builds.

Comment 4 Boris Ranto 2021-11-03 16:20:24 UTC
This should be fixed in the next build (if I understood the request correctly) :

https://gitlab.cee.redhat.com/ceph/rhcs-jenkins-jobs/-/merge_requests/792

Comment 7 Tymoteusz Tchorzewski 2021-12-06 08:21:27 UTC
After reinstalling configmap odf-operator-manager-config has the requested key:value pair IBM_SUBSCRIPTION_CATALOGSOURCE: certified-operators

[root@mc151 ~]# oc get configmap odf-operator-manager-config -o yaml
apiVersion: v1
data:
  IBM_CSI_SUBSCRIPTION_STARTINGCSV: ibm-block-csi-operator.v1.6.0
  IBM_SUBSCRIPTION_CATALOGSOURCE: certified-operators
  IBM_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
  IBM_SUBSCRIPTION_CHANNEL: stable-v1
  IBM_SUBSCRIPTION_NAME: ibm-storage-odf-operator
  IBM_SUBSCRIPTION_PACKAGE: ibm-storage-odf-operator
  IBM_SUBSCRIPTION_STARTINGCSV: ibm-storage-odf-operator.v1.0.0
  NOOBAA_SUBSCRIPTION_CATALOGSOURCE: redhat-operators
  NOOBAA_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
  NOOBAA_SUBSCRIPTION_CHANNEL: stable-4.9
  NOOBAA_SUBSCRIPTION_NAME: mcg-operator
  NOOBAA_SUBSCRIPTION_PACKAGE: mcg-operator
  NOOBAA_SUBSCRIPTION_STARTINGCSV: mcg-operator.v4.9.0
  OCS_SUBSCRIPTION_CATALOGSOURCE: redhat-operators
  OCS_SUBSCRIPTION_CATALOGSOURCE_NAMESPACE: openshift-marketplace
  OCS_SUBSCRIPTION_CHANNEL: stable-4.9
  OCS_SUBSCRIPTION_NAME: ocs-operator
  OCS_SUBSCRIPTION_PACKAGE: ocs-operator
  OCS_SUBSCRIPTION_STARTINGCSV: ocs-operator.v4.9.0
  ODF_SUBSCRIPTION_NAME: odf-operator
  ODF_SUBSCRIPTION_STARTINGCSV: odf-operator.v4.9.0
  OPERATOR_NAMESPACE: openshift-storage
  controller_manager_config.yaml: |
    apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
    kind: ControllerManagerConfig
    health:
      healthProbeBindAddress: :8081
    metrics:
      bindAddress: 127.0.0.1:8080
    leaderElection:
      leaderElect: true
      resourceName: 4fd470de.openshift.io
kind: ConfigMap
metadata:
  creationTimestamp: "2021-12-03T08:56:02Z"
  labels:
    operators.coreos.com/odf-operator.openshift-storage: ""
  name: odf-operator-manager-config
  namespace: openshift-storage
  ownerReferences:
  - apiVersion: operators.coreos.com/v1alpha1
    blockOwnerDeletion: false
    controller: false
    kind: ClusterServiceVersion
    name: odf-operator.v4.9.0
    uid: 38798cb2-2cdc-497f-b8e2-611c893c2888
  resourceVersion: "21418043"
  uid: 5819deac-7e40-497a-8d0a-a8570189666d

[root@mc151 ~]# oc get csv
NAME                              DISPLAY                                     VERSION   REPLACES                        PHASE
ibm-block-csi-operator.v1.6.0     Operator for IBM block storage CSI driver   1.6.0     ibm-block-csi-operator.v1.5.0   Succeeded
ibm-storage-odf-operator.v1.0.0   IBM Storage ODF operator                    1.0.0                                     Succeeded
mcg-operator.v4.9.0               NooBaa Operator                             4.9.0                                     Succeeded
ocs-operator.v4.9.0               OpenShift Container Storage                 4.9.0                                     Succeeded
odf-operator.v4.9.0               OpenShift Data Foundation                   4.9.0                                     Succeeded

  kind: CatalogSource
    name: redhat-operators
    namespace: openshift-marketplace
  spec:
    image: quay.io/rhceph-dev/ocs-registry:4.9.0-249.ci

Please let me know in case you need more details.

Comment 8 Nitin Goyal 2021-12-06 12:45:37 UTC
I think this is all and we can move it to a verified state.


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