Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-42997

[4.17 EFS] controller, node pods are left behind after uninstalling driver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.17.z, 4.18
    • Storage / Operators
    • None
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-42939. The following is the description of the original issue:

      Description of problem:

      4.18 efs controller, node pods are left behind after uninstalling driver

      Version-Release number of selected component (if applicable):

      4.18.0-0.nightly-2024-10-08-075347

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install 4.18 EFS operator, driver on  cluster and check the efs pods are all up and Running
      2. Uninstall EFs driver and check the controller, node pods gets deleted

      Execution on 4.16 and 4.18 clusters 

      4.16 cluster
      
      oc create -f og-sub.yaml
      oc create -f driver.yaml
      
      oc get pods | grep "efs"
      aws-efs-csi-driver-controller-b8858785-72tp9     4/4     Running   0          4s
      aws-efs-csi-driver-controller-b8858785-gvk4b     4/4     Running   0          6s
      aws-efs-csi-driver-node-2flqr                    3/3     Running   0          9s
      aws-efs-csi-driver-node-5hsfp                    3/3     Running   0          9s
      aws-efs-csi-driver-node-kxnlv                    3/3     Running   0          9s
      aws-efs-csi-driver-node-qdshm                    3/3     Running   0          9s
      aws-efs-csi-driver-node-ss28h                    3/3     Running   0          9s
      aws-efs-csi-driver-node-v9zwx                    3/3     Running   0          9s
      aws-efs-csi-driver-operator-65b55bf877-4png9     1/1     Running   0          2m53s
      
      oc get clustercsidrivers | grep "efs"
      efs.csi.aws.com   2m26s
      
      oc delete -f driver.yaml
      
      oc get pods | grep "efs"
      aws-efs-csi-driver-operator-65b55bf877-4png9     1/1     Running   0          4m40s
      
      4.18 cluster
      oc create -f og-sub.yaml
      oc create -f driver.yaml
      
      oc get pods | grep "efs" 
      aws-efs-csi-driver-controller-56d68dc976-847lr   5/5     Running   0               9s
      aws-efs-csi-driver-controller-56d68dc976-9vklk   5/5     Running   0               11s
      aws-efs-csi-driver-node-46tsq                    3/3     Running   0               18s
      aws-efs-csi-driver-node-7vpcd                    3/3     Running   0               18s
      aws-efs-csi-driver-node-bm86c                    3/3     Running   0               18s
      aws-efs-csi-driver-node-gz69w                    3/3     Running   0               18s
      aws-efs-csi-driver-node-l986w                    3/3     Running   0               18s
      aws-efs-csi-driver-node-vgwpc                    3/3     Running   0               18s
      aws-efs-csi-driver-operator-7cc9bf69b5-hj7zv     1/1     Running   0               2m55s
      
      oc get clustercsidrivers 
      efs.csi.aws.com   2m19s
      
      oc delete -f driver.yaml
      
      oc get pods | grep "efs"              
      aws-efs-csi-driver-controller-56d68dc976-847lr   5/5     Running   0               4m58s
      aws-efs-csi-driver-controller-56d68dc976-9vklk   5/5     Running   0               5m
      aws-efs-csi-driver-node-46tsq                    3/3     Running   0               5m7s
      aws-efs-csi-driver-node-7vpcd                    3/3     Running   0               5m7s
      aws-efs-csi-driver-node-bm86c                    3/3     Running   0               5m7s
      aws-efs-csi-driver-node-gz69w                    3/3     Running   0               5m7s
      aws-efs-csi-driver-node-l986w                    3/3     Running   0               5m7s
      aws-efs-csi-driver-node-vgwpc                    3/3     Running   0               5m7s
      aws-efs-csi-driver-operator-7cc9bf69b5-hj7zv     1/1     Running   0               7m44s
      
      oc get clustercsidrivers  | grep "efs" => Nothing is there

      Actual results:

      The EFS controller, node pods are left behind

      Expected results:

      After uninstalling driver the EFS controller, node pods should get deleted

      Additional info:

       On 4.16 cluster this is working fine
      
      EFS Operator logs:
      
      oc logs aws-efs-csi-driver-operator-7cc9bf69b5-hj7zv
      E1009 07:13:41.460469       1 base_controller.go:266] "LoggingSyncer" controller failed to sync "key", err: clustercsidrivers.operator.openshift.io "efs.csi.aws.com" not found
      
      Discussion: https://redhat-internal.slack.com/archives/C02221SB07R/p1728456279493399 

              rhn-support-pewang Penghao Wang
              openshift-crt-jira-prow OpenShift Prow Bot
              Rohit Patil Rohit Patil
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: