Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-3799

[Backport to 4.19.z] deletion of storagecluster doesn't delete connected storageclient

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • ?
    • ?
    • 4.19.7-1.konflux
    • Committed
    • Release Note Not Required
    • Rejected
    • None

      Steps:
      1. Install ODF 4.19, create storagecluster cr and wait for it to get into Ready state
      2. Delete storagecluster and wait for it to get it deleted

      Expected:
      1. Along with storagecluster, storageconsumer and storageclient should be deleted

      Actual:
      1. Along with storagecluster, only storageconsumer is deleted and storageclient is left behind in Offboarding state

      > k get storagecluster,storageconsumer,storageclient
      NAME                                                PHASE         CONSUMER
      storageclient.ocs.openshift.io/ocs-storagecluster   Offboarding   af138222-1310-4c17-9d55-2bcbfdbfeab6
      

      Additional Info:
      This is always reproducible and workaround is to remove the finalizer on storageclient.

      Possible RC:
      Provider server doesn't wait for storageclients but only for storageconsumer and when storageconsumer is removed, server is also deleted. This makes client-op unable to complete offboard for the local storageclient.

              resoni@redhat.com Rewant Soni
              rhn-support-lgangava Leela Gangavarapu
              Rewant Soni
              Filip Balak Filip Balak
              Votes:
              0 Vote for this issue
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: