Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10099

GUI invokes migrateVirtualMachine instead of migrateVirtualMachineWithVolume

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.11.0.0
    • Fix Version/s: 4.11.0.0
    • Component/s: UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      All

      Description

      I have a VM whose root disk in on zone-wide, managed storage.

      When I go to migrate the VM to a host in another cluster, the GUI correctly points out that to migrate the VM to the desired host that storage migration will be required.

      Since I am good with both the VM and its disk being migrated, I initiate the action.

      The GUI ends up invoking the migrateVirtualMachine API command instead of the migrateVirtualMachineWithVolume API command, which causes the process to fail. The process does fail gracefully (nothing seems to be left in a bad state).

      If I invoke the migrateVirtualMachineWithVolume API command from CloudMonkey and pass in the necessary parameters, the migration is successful.

      I know this used to work from the GUI at some point in 4.10 development because I recorded a video demonstrating this feature as executed from the GUI:

      https://www.youtube.com/watch?v=_pbnvQxTAqw&t=1006s&list=PLqOXKM0Bt13DFnQnwUx8ZtJzoyDV0Uuye&index=17

        Attachments

        1. CLOUDSTACK-10099.png
          204 kB
          Mike Tutkowski

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mike-tutkowski Mike Tutkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: