[one-users] migrate vm live error

Tino Vazquez cvazquez at c12g.com
Wed Oct 9 05:35:54 PDT 2013


Hi


On Wed, Oct 9, 2013 at 10:58 AM, hansz <hanshizhunjob at 126.com> wrote:
> hi,
> i have a try to migrate vm live,but it allways faild,i user opennebula 4.1
> install centos 6.4  and vm on two esxi 5.1, and as follow i have install
> vcenter on esxi5.1 (1),and i can migrate vm esxi51.(1) to esxi5.1(2) use
> sunstone migrate cold,
> and my vmware file as follow

Please upgrade to OpenNebula 4.2 whenever possible.


>
> # Libvirt congfiguration
> :libvirt_uri: "'esx://@HOST@/?no_verify=1&auto_answer=1'"
>
> # Username and password of the VMware hypervisor
> :username: "oneadmin"
> :password: "cloud1234!"
>
> # VMotion configuration attributes
> :datacenter: "123"
> :vcenter: "10.24.101.71"
>
>
> the log
> Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE
> Thu Sep 26 16:43:00 2013 [VMM][I]: Succe ssfully execute transfer manager
> driver operation: tm_premigrate.
> Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver
> operation: pre.
> Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail:
> /var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187
> qianyi
> Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c
> vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187
> vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1
> Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find
> datacenter specified in '/ha-datacenter/qianyi/'
> Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the
> hypervisor
> Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1
> Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver
> operation: migrate.
> Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM
> Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that
> the VM is still RUNNING (will poll VM).

Looks that the datacenter "123" is not getting picked properly. Could
you give us the output of

virsh -c vpx://10.24.101.71/123/qianyi/?no_verify=1migrate one-187
vpx://10.24.101.71/123/vmware/?no_verify=1


Regards,

-Tino

>
>
> is there anything wrong ? pls give me some detail advices
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list