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

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2176012
Environment:
Last Closed: 2023-05-03 08:27:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1970 0 None open Bug 2176359: [release-4.8] Moving the defaults for rookceph operator from configmap to csv 2023-03-28 10:46:27 UTC
Red Hat Product Errata RHBA-2023:2092 0 None None None 2023-05-03 08:27:40 UTC

Description Nikhil Ladha 2023-03-08 06:01:07 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 9 Joy John Pinto 2023-04-20 06:24:45 UTC
Verified with OCP 4.9.0-0.nightly-2023-03-29-144712 and ocs-operator.v4.8.19   

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

name: rook-ceph-operator-6c76597d64-6fkpb
  namespace: openshift-storage
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: rook-ceph-operator-6c76597d64
    uid: 965f3c08-c42c-47a0-80eb-d7b83a0721fd
  resourceVersion: "321659"
  uid: ca3fe72d-a5d3-49e4-9856-bf49b7488a21
spec:
  containers:
  - args:
    - ceph
    - operator
    env:
  ......

    - name: CSI_LOG_LEVEL
      value: "5"
    - name: NODE_NAME
      valueFrom:


rook ceph operator pod yaml: 
http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-196ai3c33-uo/j-196ai3c33-uo_20230331T135958/logs/failed_testcase_ocs_logs_1680274925/test_scale_obc_post_upgrade_ocs_logs/ocs_must_gather/quay-io-rhceph-dev-ocs-must-gather-sha256-39f1bec52e951ec538f36e90cf033f417c0098a0e235f62a51b6282133d9b872/namespaces/openshift-storage/pods/rook-ceph-operator-6c76597d64-6fkpb/rook-ceph-operator-6c76597d64-6fkpb.yaml

Comment 13 errata-xmlrpc 2023-05-03 08:27:37 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 Container Storage 4.8.19 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:2092


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