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

Failed to start VM on target cluster after migrating VM with lun device from RHV

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.10.4
    • Controller
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Description of problem:

      Warm migrate VM: mtv-win2019 (with iscsi lun) from RHV to OCP cluster, the plan executed successfully, but the VM failed to start on target cluster, the lun PVC is without storageclass on target cluster.

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

      2.10.4

      How reproducible:

      Always

      Steps to Reproduce:

      1) Create warm migrate plan: rhv-warm-lun to migrate VM: "mtv-win2019" (with iscsi lun) with the storage map as below, the target cluster with iscsi csi driver: https://github.com/kubernetes-csi/csi-driver-iscsi.git 

      storagemap: source: nfs_mtv_0 -> target: ocs-storagecluster-ceph-rbd
                  source: rhos-iscsi-lun -> target: iscsi-block

      2) The plan executed successfully, the VM failed to start the target cluster, the lun PVC is without storage class. More details in attached file: warm.tgz (pod, pvc, pv, vm, storagemap yaml files and logs )

      $ cat persistentvolumeclaim-2b32435b-16d6-431b-a4c4-95ee4243ac1c.yaml|grep spec -A 20
      spec:
        accessModes:
          - ReadWriteMany
        selector:
          matchLabels:
            volume: mtv-win2019-2b32435b-16d6-431b-a4c4-95ee4243ac1c
        resources:
          requests:
            storage: 19Gi
        volumeName: 2b32435b-16d6-431b-a4c4-95ee4243ac1c
        storageClassName: ''
        volumeMode: Block
      status:
        phase: Bound
        accessModes:
          - ReadWriteMany
        capacity:
          storage: 19Gi
      
      $ cat persistentvolume-2b32435b-16d6-431b-a4c4-95ee4243ac1c.yaml| grep spec -A 20
      spec:
        capacity:
          storage: 19Gi
        iscsi:
          targetPortal: '10.***:3260'
          iqn: 'iqn.2026-01.lab.local:rhv.target'
          lun: 0
          iscsiInterface: default
        accessModes:
          - ReadWriteMany

      Actual results:

      In Step2: The VM failed to start

      Expected results:

      In Step2: The VM start successfully

      Additional info:

       

              gcheresh@redhat.com Genadi Chereshnya
              chhu@redhat.com Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: