Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-56645

Rollback keeps in progress all the time for a VM with non-persist volume

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • CNV v4.18.0
    • Storage Platform
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      Rollback keeps in progress all the time for a VM with non-persist volume

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

      CNV-v4.18.0.rhel9-813 , MTC v1.8.6-6

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM
      2. Create a Volume (DV/PVC)
      3. Hotplug the volume to the VM without persist flag till the volume ready in vmi
      4. Create a migplan, migrate the vm to different SC, live migration:true
      5. Cutover - failed, we got error "volume blank-dv not found in VM vm-cirros-source-ocs, it is an ephemeral volume, to fix unplug the volume and hotplug it with the persist flag" since it is an ephemeral volume which could not be migrated.
      6. Try to Rollback 

      Actual results:

      step6: Rollback keeps in progress all the time for a VM with non-persist volume
      and got log from directvolumemigratio: 
      Status:
        Conditions:
          Category:              Critical
          Last Transition Time:  2025-02-14T15:42:40Z
          Message:               The set of pvcs were not found on source cluster
          Reason:                NotFound
          Status:                True
          Type:                  PodsNotFoundOnSourceCluster
        Observed Digest:         b6cdcc24d1cec04c9445cc1a28349cdef02123106b34ee35084fbfbabb06d0e9
        Phase Description:
      
      
      $ oc get pvc -n mig2
      NAME                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS                  VOLUMEATTRIBUTESCLASS   AGE
      blank-dv                        Bound    pvc-9411c4be-78b2-4530-b4a6-da61a3e26cf6   1Gi        RWX            ocs-storagecluster-ceph-rbd   <unset>                 45m
      cirros-dv-source-ocs            Bound    pvc-beb709fd-b25f-4a1d-9459-0b66a5d9da4a   1Gi        RWX            ocs-storagecluster-ceph-rbd   <unset>                 47m
      cirros-dv-source-ocs-mig-tvdc   Bound    pvc-d0125c06-ff28-476d-aac6-b1e120e5fd85   1Gi        RWX            ocs-storagecluster-ceph-rbd   <unset>                 39m     

      Expected results:

      If the  ephemeral volume can not be migrated, then it is better that we can rollback to origin

      Additional info:

       

              rhn-support-awels Alexander Wels
              yadu1@redhat.com Yan Du
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: