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

Docs: Guest conversion failed when root disk is shared disk and set the migrateSharedDisks false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2.8.1
    • 2.7.11
    • Documentation
    • Incidents & Support
    • 3
    • False
    • Hide

      None

      Show
      None
    • True
    • Sprint 8-MMSDOCS 2026

      Description of problem:

      Cold remote migrate VM1 with shared disk(C,F) with migrateSharedDisks:true successfully,
      cold remote migrate VM2 with 1 shared disk C - it use the VM1 C, migration failed with error:
      "virt-v2v-in-place: error: this guest has no non-removable disks"
      
      cold remote migrate VM3 with 1 shared disk C - it use the VM1 C and 1 no sharing data disk E,
      migration failed with error:
      "virt-v2v-in-place: error: inspection could not detect the source guest (or phsical machine). Assuming that you are running virt-v2v/virt-p2v on a source which is supported(and not, for example a blank disk), then this should not happen"
      
      Need to forbidden the migration if not support, or skip the guest conversion

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

      2.7.11

      How reproducible:

      Always

      Steps to Reproduce:

      1) Prepare a VM: mtv-func-win2022-st2 with 3 disks, shutoff the VM

      C 16G st2.vmdk   - shared
      E 2G  st2_1.vmdk - no sharing
      F 3G  st2_2.vmkd - shared

      2) Create cold migration plan: mtv-shared-st2-remote with migrateSharedDisks: true,
          the plan executed successfully

      3) Prepare a VM: mtv-func-win2022-st4 with 1 disks, it use the mtv-func-win2022-st2 shared disk C

      4) Create remote cold migration plan: mtv-shared-st4-remote-false, the plan failed with "virt-v2v-in-place: error: this guest has no non-removable disks", more details in attached file: mtv-shared-st4-remote-false-vm-125-hnxtf-virt-v2v.log

      5) Edit the VM: mtv-func-win2022-st4 to include 2 disks (C - mtv-func-win2022-st2 shared disk C, E - no sharing data disk )

      6) Create remote cold migration plan: mtv-shared-st4-remote-false-2disks, the plan failed with

      error: "virt-v2v-in-place: error: inspection could not detect the source guest (or phsical machine). Assuming that you are running virt-v2v/virt-p2v on a source which is supported(and not, for example a blank disk), then this should not happen"

      more details in attached file: mtv-shared-st4-remote-false-2disks-vm-125-f8dd4-virt-v2v.log

      Actual results:

      In step 4,6: migrate plan failed

      Expected results:

      In step 4,6: migration plan executed successfully or forbidden the migration

      Additional info:

       

              richard.hoch Richard Hoch
              chhu@redhat.com Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: