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

Change VM Power status on vCenter, the migration plan does not detect the changes (shared disks)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.9.z
    • 2.8.0
    • Controller

      Description of problem:

      When migrate with shared disks, we need related VMs are power off status, otherwise the plan is in Error status, after power off/power on VMs on source, the migration plan doesn't detect the change, user have to create a new plan or copy current plan to detect the change

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

      MTV 2.8.0-32 (IIB: 938251) with CNV 4.17.6

      How reproducible:

      Always

      Steps to Reproduce:

      1) Prepare VMs as below, power off st1,st2, power on st5, st9

      st1 with 4 disks, shared disk E
      st2 with 3 disks, shared disk F
      st5 with 3 disks, use shared disk E of st1
      st9 with 3 disks, use shared disk E of st1, use shared disk F of st2

      2) Create a cold migration plan, try to migrate st1 and st2 with migrateSharedDisks: true, get expected error message, list all related vms and suggest to power them off

      The plan is not ready - SharedDisks-vm-124
      Virtual Machines 'mtv-func-win2022-st9', 'mtv-func-win2022-st5' are running with attached shared disk, please power them off. To troubleshoot, check the Forklift controller pod logs.

      3) Power off st9, refresh the Plan -> Plan Details page, current plan is still with the above error message.

      4) Copy current plan to plan: copy-of-mtv-win2022-st-2shared-true, the error message changed correctly

      The plan is not ready - SharedDisks-vm-124
      Virtual Machines 'mtv-func-win2022-st5' are running with attached shared disk, please power them off. To troubleshoot, check the Forklift controller pod logs.

      5) Poweroff st5 on source, refresh the Plan -> Plan Details page, current plan is still with the above error message, copy current plan to plan: copy-of-copy-of-mtv-win2022-st-2shared-true, no error message, the plan status change to Ready.

      6) Power on st5, st9 on source, the plan status don't change

      7) Start the migration plan, it detected the st5,st9 power status and show the error message:

      The plan is not ready - SharedDisks-vm-124
      Virtual Machines 'mtv-func-win2022-st9', 'mtv-func-win2022-st5' are running with attached shared disk, please power them off. To troubleshoot, check the Forklift controller pod logs.

      Actual results:

      In steps 3,5,6: After power off/power on VMs on source, the migration plan doesn't detect the change, user have to create a new plan or copy current plan to detect the change

      Expected results:

      In steps 3,5,6: After power off/power on VMs on source, the migration plan detect the changes

      Additional info:

       

              rh-ee-ehazan Elad Hazan
              chhu@redhat.com Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: