Bug 1871879
| Summary: | OCS 4.5 : Difficult to debug CSI issues as CSI log level is set to 0 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Madhu Rajanna <mrajanna> |
| Component: | ocs-operator | Assignee: | Mudit Agarwal <muagarwa> |
| Status: | ASSIGNED --- | QA Contact: | Elad <ebenahar> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | bkunal, kelwhite, muagarwa, nberry, sostapov |
| Target Milestone: | --- | Keywords: | AutomationBackLog |
| Target Release: | --- | ||
| 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: | 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: | |||
|
Description
Madhu Rajanna
2020-08-24 14:24:03 UTC
Thanks Madhu for pointing this out to us. As Seen in Comment#0, the log level used to be 5 in OCS 4.4. So what was the reason for changing it in OCS 4.5 ? Even OCS 4.6 has log level set to 5 This could result in incomplete data for log analysis from field once OCS 4.5 is released. Please help in reviewing this BZ . @bipin FYI Needs to be backported in 4.5.z Removing the blocker flag and moving it to 4.5 based on an offline discussion. Summary: We need a consensus before we change this value again. Ideally it should print error and info messages. Log level to debug can be changed when needed. Having log level 0 means we only get following logs in the plugin pods 2020-08-28T10:22:07.338868866Z E0828 10:22:07.338768 1 cephcsi.go:147] Failed to set new PID limit to -1: open /sys/fs/cgroup/pids/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-pod0cdd7d3b_55fa_45a7_bfd6_b411c1ac870b.slice/crio-ff9e1c3088fbc412d1e42a9b5cd2c3a770e772d6e016d1b46f8d1c10aa3f6ebf.scope/pids.max: permission denied 2020-08-28T10:22:07.351915128Z E0828 10:22:07.351857 1 volumemounter.go:171] failed to run ceph-fuse exec: "ceph-fuse": executable file not found in $PATH 2020-08-28T10:22:07.352113612Z W0828 10:22:07.352063 1 driver.go:164] EnableGRPCMetrics is deprecated As seen in [1], if someone wishes to verify mount issues from plugin pods, he/she gets nothing :( [1] http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jnk-ai3c33-ua/jnk-ai3c33-ua_20200912T182702/logs/failed_testcase_ocs_logs_1599946063/test_must_gather_ocs_logs/ocs_must_gather/quay-io-rhceph-dev-ocs-must-gather-sha256-b0627919feaa87b3b6ee521c4c6e8c496281c2834ed1180aa72d95feb01009aa/ceph/namespaces/openshift-storage/pods/csi-cephfsplugin-4bf2l/csi-cephfsplugin/csi-cephfsplugin/logs/current.log Has this been fixed in more recent versions of OCS/ODF? In ODF 4.10, I was unable to find 'CSI_LOG_LEVEL' in the configmap. |