Bug 1837219 - [manila-csi-driver-operator] manila csi driver did not be uninstalled after the manilacsi instance is deleted
Summary: [manila-csi-driver-operator] manila csi driver did not be uninstalled after t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.0
Assignee: Mike Fedosin
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 1832661
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-19 06:17 UTC by Wei Duan
Modified: 2020-07-13 17:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:39:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift csi-driver-manila-operator pull 26 0 None closed Bug 1837219: implement ManilaDriver uninstallation 2020-06-22 15:44:34 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:40:17 UTC

Description Wei Duan 2020-05-19 06:17:23 UTC
Description of problem:
Manila csi driver should be uninstalled when manilacsi instance is deleted

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-05-17-235851

How reproducible:
Always

Steps to Reproduce:
1. Login into the webconsole
2. Install csi-driver-manila-operator from operator hub and create manilacsi instance successfully, manila csi driver is installed successfully. 
3. Delete manilacsi instance 

Actual results:
manilacsi object is deleted but manila csi driver doesn't be uninstalled.
[wduan@MINT operator]$ oc get manilacsi
No resources found.
 
[wduan@MINT operator]$ oc get pod
NAME                                          READY   STATUS    RESTARTS   AGE
csi-driver-manila-operator-7cd57f8497-jmxfz   1/1     Running   0          20m
csi-nodeplugin-nfsplugin-qcwsb                1/1     Running   0          19m
csi-nodeplugin-nfsplugin-qwjb6                1/1     Running   0          19m
csi-nodeplugin-nfsplugin-x42p7                1/1     Running   0          19m
openstack-manila-csi-nodeplugin-gmk7w         2/2     Running   0          19m
openstack-manila-csi-nodeplugin-gwzz7         2/2     Running   0          19m
openstack-manila-csi-nodeplugin-rlcn8         2/2     Running   0          19m

Expected results:
When manilacsi object is deleted, manila csi driver should be uninstalled.

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

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

Additional info:

Comment 4 Wei Duan 2020-06-12 02:52:22 UTC
Verified pass with images in https://errata.devel.redhat.com/advisory/54130.

[wduan@MINT verification-tests]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-06-10-201008   True        False         23h     Cluster version is 4.5.0-0.nightly-2020-06-10-201008


After uninstalled ManilaDriver, the project "openshift-manila-csi-driver" and all resources are deleted.

[wduan@MINT verification-tests]$ oc get pod -w
NAME                                                    READY   STATUS        RESTARTS   AGE
csi-nodeplugin-nfsplugin-2hzqm                          0/1     Terminating   0          10h
csi-nodeplugin-nfsplugin-dk5bz                          0/1     Terminating   0          10h
openstack-manila-csi-controllerplugin-c5b6f9645-h24lx   0/3     Terminating   0          10h
openstack-manila-csi-nodeplugin-2v54j                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-klsfv                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-zrljl                   0/2     Terminating   0          10h
openstack-manila-csi-controllerplugin-c5b6f9645-h24lx   0/3     Terminating   0          10h
openstack-manila-csi-controllerplugin-c5b6f9645-h24lx   0/3     Terminating   0          10h
csi-nodeplugin-nfsplugin-dk5bz                          0/1     Terminating   0          10h
csi-nodeplugin-nfsplugin-dk5bz                          0/1     Terminating   0          10h
openstack-manila-csi-nodeplugin-zrljl                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-zrljl                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-2v54j                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-2v54j                   0/2     Terminating   0          10h
csi-nodeplugin-nfsplugin-2hzqm                          0/1     Terminating   0          10h
csi-nodeplugin-nfsplugin-2hzqm                          0/1     Terminating   0          10h
openstack-manila-csi-nodeplugin-klsfv                   0/2     Terminating   0          10h
openstack-manila-csi-nodeplugin-klsfv                   0/2     Terminating   0          10h
^C[wduan@MINT verification-tests]$ oc get pod 
No resources found in openshift-manila-csi-driver namespace.

[wduan@MINT verification-tests]$ oc get all
No resources found in openshift-manila-csi-driver namespace.

[wduan@MINT verification-tests]$ oc project
error: you do not have rights to view project "openshift-manila-csi-driver" specified in your config or the project doesn't exist
[wduan@MINT verification-tests]$ oc get project openshift-manila-csi-driver
Error from server (NotFound): namespaces "openshift-manila-csi-driver" not found

Comment 5 errata-xmlrpc 2020-07-13 17:39:55 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, 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-2020:2409


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