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

Migrate is not executed when plan with shared disks and set migrateSharedDisks false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.7.11
    • None
    • Controller
    • 3
    • False
    • None
    • True

      Description of problem:

      Try to migrate a VM with 3 disks, and set migrateSharedDisks false,
      (no-sharing disk0, shared disk1, no-sharing disk3)
      Plan status: warning and with message:
      -----------------------------------------------
      "Missing shared disks PVC '[[datastore2] 
      mtv-function-shared-sata/mtv-function-shared-sata_1.vmdk]' in namespace 'openshift-mtv', the VMs can be migrated but the disk will not be attached" 
      -------------------------------------------------
      Click "Start migration" button on the "Plan Details" page, it create Migration: "mtv-sata-false-d4wq4", but the migration is not executed,
      click "Start migration" button again, it create another Migration: "mtv-sata-false-d4wq4" and the migrations are not executed.

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

      MTV 2.7.11

      How reproducible:

      Always

      Steps to Reproduce:

      1) Prepare a VM: mtv-function-shared-sata with 3 disks, shutoff the VM

          (no-sharing disk0, shared disk1, no-sharing disk3)

      2) Create a cold migration plan: mtv-sata-false, set migrateSharedDisks false, Plan status: warning and with message:

      3) Click "Start migration" button on the "Plan Details" page, it create Migration: "mtv-sata-false-d4wq4", but the migration is not executed,
      click "Start migration" button again, it create another Migration: "mtv-sata-false-d4wq4" and the migrations are not executed.

      Actual results:

      In step3: Migrate is not executed and can create multiple Migration for this plan

      Expected results:

      In step3: Migrate is executed and can only create 1 Migration for this plan

      Additional info:

       

        1. image-2025-03-06-14-24-48-924.png
          49 kB
          Chenli Hu
        2. image-2025-03-06-14-26-01-961.png
          44 kB
          Chenli Hu
        3. image-2025-03-12-08-26-44-206.png
          49 kB
          Chenli Hu
        4. image-2025-03-12-09-41-06-382.png
          16 kB
          Chenli Hu
        5. image-2025-03-12-09-42-35-791.png
          46 kB
          Chenli Hu

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

                Created:
                Updated:
                Resolved: