Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1945825

Summary: [Manila CSI driver] logs are not included in must-gather logs
Product: OpenShift Container Platform Reporter: Wei Duan <wduan>
Component: StorageAssignee: Eric Duen <eduen>
Storage sub component: OpenStack CSI Drivers QA Contact: Jon Uriarte <juriarte>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: high CC: aos-bugs, mbooth, pprinett
Version: 4.8Keywords: Triaged
Target Milestone: ---   
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: 2021-07-26 14:23:50 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:

Description Wei Duan 2021-04-02 06:04:28 UTC
Description of problem:
Manila CSI driver logs are not included in must-gather logs
Tried serveral releases:
4.8 NOK
4.7 NOK
4.6 OK

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-01-112916

How reproducible:
Always

Steps to Reproduce:
1. Install OCP cluster on Openstack with Manila CSI Driver installed.
2. $ oc adm must-gather
[must-gather      ] OUT Using must-gather plug-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:5a7c45c0742726e39eac3e4b9c8a39d663d1123751e918615a9d65b6ceb5d917
3. Check the Manila CSI Driver related logs 

Actual results:
There is no openshift-manila-csi-driver under namespace folder
$ ls -l namespaces | grep openshift-manila-csi-driver | wc -l
0

Expected results:
must-gather should include the manila-csi-driver logs.

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:
4.8: http://virt-openshift-05.lab.eng.nay.redhat.com/wduan/logs/must-gather.local.612575652709451884.tar.gz
4.7: http://virt-openshift-05.lab.eng.nay.redhat.com/wduan/logs/must-gather.local.1550437577609321556.tar.gz
4.6: http://virt-openshift-05.lab.eng.nay.redhat.com/piqin/must-gather.local.3698020778629270610.tar.gz

Find this when check this bug https://bugzilla.redhat.com/show_bug.cgi?id=1943496

Comment 1 Emilien Macchi 2021-04-06 14:28:57 UTC
I could find namespaces/openshift-cluster-csi-drivers/pods/manila-csi-driver-operator-7457dd8576-6h692/manila-csi-driver-operator/manila-csi-driver-operator/logs/current.log, isn't it the one you want?

Comment 2 Wei Duan 2021-04-07 06:32:09 UTC
(Sorry I did not make it more clear in Description) The manila-csi-driver-operator is the operator which installs the Manila csi driver, it exists in manila-csi-driver-operator namespace. But the manila csi driver is installed under namespaces/openshift-manila-csi-driver, which we can get all the log when csi driver works. 

4.6 must-gather log for manila-csi-driver:
# ls -l namespaces/openshift-manila-csi-driver/pods/
total 28
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-842kx
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-8k8kl
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-jtfqw
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-lwf4m
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-r8d6s
drwxr-xr-x. 3 xiaocwan wheel   77 Mar 26 19:57 csi-nodeplugin-nfsplugin-xhczl
drwxr-xr-x. 6 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-controllerplugin-67b7855d4c-6s6dl
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-b69tk
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-dczxr
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-lffkf
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-psdpd
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-r7ftc
drwxr-xr-x. 4 xiaocwan wheel 4096 Mar 26 19:57 openstack-manila-csi-nodeplugin-zcbfw

Comment 4 Wei Duan 2021-07-14 04:59:11 UTC
It fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1977389, so could be closed.

Comment 6 Pierre Prinetti 2021-07-26 14:23:50 UTC

*** This bug has been marked as a duplicate of bug 1977389 ***