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

Migration plan hang when the importer pod/pvc is pending

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.7.8
    • Controller
    • None
    • False
    • None
    • True

      Description of problem:

      Warm migrate VM from vSphere7 to target cluster with cephrbd storage, when the importer pod/pvc is pending, the migration plan hang forever

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

      MTV 2.7.8, CNV 4.17.4

      How reproducible:

      50 %

      Steps to Reproduce:

      1)Create a warm migration plan: mtv-warm-rhel8-cephrbd to migrate vm: mtv-function-rhel8-8 to cnv with cephrbd storage, after starting the migration, the Disk transfer "0/16384 MB", the Disk counter changed to "1/1 Disks"

      2) Set the cutover, nothing happen

      3) Check the importer pod status: pending, detail in file: importer-prime-eabd934d-29df-451f-9707-8c6a344c8ac7-checkpoint-snapshot-2244

       

      # oc get pod importer-prime-eabd934d-29df-451f-9707-8c6a344c8ac7-checkpoint-snapshot-2244 -o yaml
      status:
        conditions:
        - lastProbeTime: null
          lastTransitionTime: "2025-01-17T06:29:37Z"
          message: '0/6 nodes are available: pod has unbound immediate PersistentVolumeClaims.
            preemption: 0/6 nodes are available: 6 Preemption is not helpful for scheduling.'
          reason: Unschedulable
          status: "False"
          type: PodScheduled
        phase: Pending
      
      

      4) Check the pvs status pending, details in files: mtv-warm-rhel8-cephrbd-vm-662-b6px6, prime-eabd934d-29df-451f-9707-8c6a344c8ac7, attached cdi-cdi-deployment-d59f8869d-5cmd2-cdi-deployment.log

      Capacity:
      Access Modes:
      VolumeMode:    Block
      Used By:       importer-prime-eabd934d-29df-451f-9707-8c6a344c8ac7-checkpoint-snapshot-2244
      Events:
        Type     Reason                Age                    From                                                                                                                Message
        ----     ------                ----                   ----                                                                                                                -------
        Warning  ProvisioningFailed    66m                    openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-557d4bc84f-rxrwq_a62b097f-d91b-49b4-be06-1d6cc95d59f2  failed to provision volume with StorageClass "ocs-storagecluster-ceph-rbd": rpc error: code = DeadlineExceeded desc = context deadline exceeded
        Warning  ProvisioningFailed    43m (x14 over 66m)     openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-557d4bc84f-rxrwq_a62b097f-d91b-49b4-be06-1d6cc95d59f2  failed to provision volume with StorageClass "ocs-storagecluster-ceph-rbd": rpc error: code = Aborted desc = an operation with the given Volume ID pvc-73772997-5da0-4fac-bf3f-67ebc57c46d1 already exists
        Normal   ExternalProvisioning  4m11s (x271 over 69m)  persistentvolume-controller                                                                                         Waiting for a volume to be created either by the external provisioner 'openshift-storage.rbd.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
        Normal   Provisioning          3m12s (x26 over 69m)   openshift-storage.rbd.csi.ceph.com_csi-rbdplugin-provisioner-557d4bc84f-rxrwq_a62b097f-d91b-49b4-be06-1d6cc95d59f2  External provisioner is provisioning volume for claim "mtv-test/prime-eabd934d-29df-451f-9707-8c6a344c8ac7" 

      5) The plan hang forever

      Actual result:

      In step2: can set the cutover, but nothing happen after set it
      In step4,5 the pvc is failed to bound to a pv, and the migration plan hang forever 

      Expected result:

      In step2: can't set the cutover
      In step4,5 Failed the migration plan with error message 

       

              Unassigned Unassigned
              chhu@redhat.com Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: