Bug 2176357 - [4.9.z clone] Move the defaults for rookceph operator from configmap to csv
Summary: [4.9.z clone] Move the defaults for rookceph operator from configmap to csv
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.9.15
Assignee: Nikhil Ladha
QA Contact: Joy John Pinto
URL:
Whiteboard:
Depends On: 2176012 2176359
Blocks: 2176356
TreeView+ depends on / blocked
 
Reported: 2023-03-08 05:52 UTC by Nikhil Ladha
Modified: 2023-08-09 17:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2176012
Environment:
Last Closed: 2023-05-03 09:57:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1956 0 None Merged Bug 2176357: [release-4.9] Moving the defaults for rookceph operator from configmap to csv 2023-03-28 06:21:00 UTC
Red Hat Product Errata RHBA-2023:2091 0 None None None 2023-05-03 09:57:25 UTC

Description Nikhil Ladha 2023-03-08 05:52:13 UTC
+++ This bug was initially created as a clone of Bug #2176012 +++

Description of problem (please be detailed as possible and provide log
snippests):

Currently upgraded cluster do not have CSI_LOG_LEVEL: 5 in rook-ceph-operator-config. 
This leads to csi pods having log level of 0, which makes it very hard to debug. 

Also, CSI_ENABLE_CSIADDONS is false by default and we need to enable it manually.

Both the above issues can be resolved by backporting pr https://github.com/red-hat-storage/ocs-operator/pull/1648 
and moving defaults to csv.

Actual results:
Upgraded cluster do not have necessary defaults.

Expected results:
Upgraded clusters will automatically get these defaults from csv.

Additional info:

N.A

Comment 11 Joy John Pinto 2023-04-20 06:34:19 UTC
Verified with OCP 4.10.0-0.nightly-2023-03-30-033324 and ocs-operator.v4.9.15-1

"CSI_LOG_LEVEL" value is updated to 5, hence closing the bug

  name: rook-ceph-operator-8ff7958db-zx25r
  namespace: openshift-storage
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: rook-ceph-operator-8ff7958db
    uid: 9977146d-9792-4265-a09d-7eb9f9da5b9a
  resourceVersion: "43327"
  uid: a1325676-47b7-4ec8-84b5-9d291787af86
spec:
  containers:
  - args:
    - ceph
    - operator
    ...............
    - name: CSI_LOG_LEVEL
      value: "5"
    - name: NODE_NAME

rook ceph operator pod yaml: 
http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-194zi3c33-uo/j-194zi3c33-uo_20230330T164346/logs/deployment_1680199782/ocs_must_gather/quay-io-rhceph-dev-ocs-must-gather-sha256-82081d40487b4fc9325ac6f687edabba5dbb109b2d7028fd8a34c134d92ecb7c/namespaces/openshift-storage/pods/rook-ceph-operator-8ff7958db-zx25r/rook-ceph-operator-8ff7958db-zx25r.yaml

Comment 15 errata-xmlrpc 2023-05-03 09:57:21 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.9.15 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:2091


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