Re: [one-users] migrate live error

2013-09-30 Thread Tino Vazquez
Hi,

Please try setting the default for the datacenter in vmwarerc. Instead of

:dat acenter: "123"

set

:datacenter: "ha-datacenter"

Let us know whether this solves the issue or not.

Best regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Sun, Sep 29, 2013 at 3:10 AM, hansz  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
>
> # 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
> :dat acenter: "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]: Successfully 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 hy
> pervisor
> 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).
>
>
> is there anything wrong ? pls give me some detail advices
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] migrate live error

2013-09-28 Thread hansz
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


# 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]: Successfully 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).




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