You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Mike Tutkowski (JIRA)" <ji...@apache.org> on 2017/09/29 05:00:09 UTC

[jira] [Comment Edited] (CLOUDSTACK-10099) GUI invokes migrateVirtualMachine instead of migrateVirtualMachineWithVolume

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185351#comment-16185351 ] 

Mike Tutkowski edited comment on CLOUDSTACK-10099 at 9/29/17 5:00 AM:
----------------------------------------------------------------------

I noticed this also happens in this situation:

I have two XenServer clusters, each with its own NFS SR.

In the one cluster, I have a VM. Its root disk is housed on the one and only NFS SR of that cluster.

The GUI tells me I can migrate the VM to a host in the other cluster, but that it will require storage migration. I am OK with this and start the migration action.

The GUI sends a migrateVirtualMachine API command instead of a migrateVirtualMachineWithVolume API command to the management server and the process fails. It does fail gracefully (nothing seems to be left in a bad state).

As an FYI, though, even if the GUI were calling the correct API command in this particular instance, it would fail due to this issue:

https://issues.apache.org/jira/browse/CLOUDSTACK-10100



was (Author: mike-tutkowski):
I noticed this also happens in this situation:

I have two XenServer clusters, each with its own NFS SR.

In the one cluster, I have a VM. Its root disk is housed on the one and only NFS SR of that cluster.

The GUI tells me I can migrate the VM to a host in the other cluster, but that it will require storage migration. I am OK with this and start the migration action.

The GUI sends a migrateVirtualMachine API command instead of a migrateVirtualMachineWithVolume API command to the management server and the process fails. It does fail gracefully (nothing seems to be left in a bad state).

> GUI invokes migrateVirtualMachine instead of migrateVirtualMachineWithVolume
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10099
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10099
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.11.0.0
>         Environment: All
>            Reporter: Mike Tutkowski
>             Fix For: 4.11.0.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)