Bug 1947866
| Summary: | disk.csi.azure.com.spec.operatorLogLevel is not updated when CSO loglevel is changed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
| Component: | Storage | Assignee: | Christian Huffman <chuffman> |
| Storage sub component: | Operators | QA Contact: | Qin Ping <piqin> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | aos-bugs, chuffman |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:58:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
When updating the storage/cluster.spec.operatorLogLevel to "Debug", the azure disk csi driver operator pod log level is changed successfully. $ oc -n openshift-cluster-csi-drivers exec azure-disk-csi-driver-operator-59c845ffc6-9qjbc -- ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 1000270+ 1 3.5 0.2 1662256 71180 ? Ssl 05:38 0:01 /usr/bin/azure-disk-csi-driver-operator start -v=4 1000270+ 20 0.0 0.0 47548 3524 ? Rs 05:39 0:00 ps -aux But the clustercsidriver/disk.csi.azure.com.spec.operatorLogLevel still is "Normal", it's not consistent with the actual log level of the operator pod. Per PR: https://github.com/openshift/cluster-storage-operator/pull/131, I'll mark this as verified. 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438 |
Description of problem: disk.csi.azure.com.spec.operatorLogLevel is not updated when CSO loglevel is changed Version-Release number of selected component (if applicable): 4.8.0-0.nightly-2021-04-08-200632 How reproducible: Always Steps to Reproduce: 1. Set up an OCP cluster on azure 2. Enable TechPreviewNoUpgrade featureset 3. Update the CSO loglevel from Normal to Debug $ oc get storage cluster -ojson|jq .spec { "logLevel": "Debug", "managementState": "Managed", "operatorLogLevel": "Normal" } 4. Check the azure disk csi operatorloglevel Actual results: $ oc get clustercsidrivers disk.csi.azure.com -ojson|jq .spec.operatorLogLevel "Normal" The operatorloglevel still is "Normal" $ oc -n openshift-cluster-csi-drivers exec azure-disk-csi-driver-operator-6fb9fd6b49-bz6bb -- ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 1000260+ 1 0.5 0.2 1733668 81748 ? Ssl 03:47 2:50 /usr/bin/azure-disk-csi-driver-operator start 1000260+ 46 0.0 0.0 47544 3480 ? Rs 12:46 0:00 ps -aux The log level for the operator pod was not changed either. Expected results: When the CSO loglevel is changed, the change should be propagate to the operator pod log and the operatorloglevel in clustercsidriver object. Master Log: Node Log (of failed PODs): PV Dump: PVC Dump: StorageClass Dump (if StorageClass used by PV/PVC): Additional info: