Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3039

[ Storage-offload ] Prime PVC stuck in Terminating state after xcopy completes

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      After running a migration with Storage Offload, the prime PVC remains stuck in the Terminating state, even after the xcopy operation completes successfully.

      This blocks proper cleanup and may result in leftover resources.

       Normal   ExternalProvisioning    Waiting for a volume to be created...
      Normal   Provisioning            External provisioner is provisioning volume...
      Normal   ProvisioningSuccess     Volume successfully provisioned
      Warning  ClaimMisbound           Two claims are bound to the same volume, this one is bound incorrectly

       

      [root@f01-h07-000-r640 Storage_Offload]# oc describe pvc/prime-fa44316d-6c0b-4ddb-84ed-5b13cccefe9b
      Name:          prime-fa44316d-6c0b-4ddb-84ed-5b13cccefe9b
      Namespace:     offload-demo-3
      StorageClass:  netapp-ontap-perf-iscsi
      Status:        Terminating (lasts 62m)
      Volume:        pvc-1c3fe2ad-d0f3-45aa-90a7-6f09c36d3236
      Labels:        <none>
      Annotations:   pv.kubernetes.io/bind-completed: yes
                     pv.kubernetes.io/bound-by-controller: yes
                     volume.beta.kubernetes.io/storage-provisioner: csi.trident.netapp.io
                     volume.kubernetes.io/storage-provisioner: csi.trident.netapp.io
      Finalizers:    [kubernetes.io/pvc-protection]
      Capacity:      0
      Access Modes:
      VolumeMode:    Block
      Used By:       populate-fa44316d-6c0b-4ddb-84ed-5b13cccefe9b
      Events:
        Type     Reason                 Age   From                                                                                            Message
        ----     ------                 ----  ----                                                                                            -------
        Normal   ExternalProvisioning   64m   persistentvolume-controller                                                                     Waiting for a volume to be created either by the external provisioner 'csi.trident.netapp.io' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
        Normal   Provisioning           64m   csi.trident.netapp.io_trident-controller-6f9f7b5994-mww4x_14cbce54-fa12-4a41-8da6-f548d3c37f69  External provisioner is provisioning volume for claim "offload-demo-3/prime-fa44316d-6c0b-4ddb-84ed-5b13cccefe9b"
        Normal   ProvisioningSuccess    64m   csi.trident.netapp.io                                                                           provisioned a volume
        Normal   ProvisioningSucceeded  64m   csi.trident.netapp.io_trident-controller-6f9f7b5994-mww4x_14cbce54-fa12-4a41-8da6-f548d3c37f69  Successfully provisioned volume pvc-1c3fe2ad-d0f3-45aa-90a7-6f09c36d3236
        Warning  ClaimMisbound          62m   persistentvolume-controller                                                                     Two claims are bound to the same volume, this one is bound incorrectly
       
      [root@f01-h07-000-r640 Storage_Offload]# oc get pvc
      NAME                                         STATUS        VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS              VOLUMEATTRIBUTESCLASS   AGE
      offload-demo-3-offload-demo-iscsi-72c36bf2   Bound         pvc-1c3fe2ad-d0f3-45aa-90a7-6f09c36d3236   50Gi       RWX            netapp-ontap-perf-iscsi   <unset>                 59m
      prime-fa44316d-6c0b-4ddb-84ed-5b13cccefe9b   Terminating   pvc-1c3fe2ad-d0f3-45aa-90a7-6f09c36d3236   0                         netapp-ontap-perf-iscsi   <unset>                 59m
       

      Environment:

      • MTV GA build: quay.io/redhat-user-workloads/rh-mtv-1-tenant/forklift-fbc-prod-v418:on-pr-1544ca1514f51aaa651494ce929e6c1a5fa84fce
      • CSI driver: csi.trident.netapp.io
      • Migration type: Storage Offload
      • OCP 4.18.2

              rgolan1@redhat.com Roy Golan
              tzahia Tzahi Ashkenazi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: