Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box
Dear Cyrlle, Thanks for your support. According to your metions, here is the output I got out: oneadmin@OneVMHost:~/var/11$ ls -lArth /var/lib/one/var//datastores/0/8/disk.1 -rw-rw 1 libvirt-qemu kvm 370K Sep 26 00:12 /var/lib/one/var//datastores/0/11/disk.1 oneadmin@OneVMHost:~/var/11$ cat /etc/group |grep oneadmin root:x:0:oneadmin oneadmin:x:1:oneadmin kvm:x:110:oneadmin libvirtd:x:111:thaibinhtt,oneadmin oneadmin@OneVMHost:~/var/11$ Best Regards, NDTBinh From: Duverne, Cyrille cyrille.duve...@euranova.eu To: thái bình thaibin...@yahoo.com; users@lists.opennebula.org users@lists.opennebula.org Sent: Wednesday, September 25, 2013 11:18 PM Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box Hello Thai, Could you give the output of : ls -lArth /var/lib/one/var//datastores/0/8/disk.1 ? Another thought : Is oneadmin part of the libvirt group ? Cheers Cyrille Eura Nova Twitter : @CydsWorld At Tuesday, 24/09/2013 on 19:58 thái bình wrote: Dear, I am trying to live migrate from KVM host to another KVM host but I always catch an error message which I quote below. Does anyone know the reason and how to solve this problem ? oneadmin@OneVMHost:~/var/8$ cat vm.log Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG. Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0 Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1 Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/8/deployment.0 Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver operation: post. Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver operation: save. Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: clean. Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1 Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint failed: error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path /var/lib/one/var//datastores/0/8/disk.1: Permission denied Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1 Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver operation: restore. Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED Many thanks, NDTBinh___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box
Dear Cyrille, I got mistake editing the commad ls. I correct it output in the red. Best regards, NDTBinh From: thái bình thaibin...@yahoo.com To: Duverne, Cyrille cyrille.duve...@euranova.eu; users@lists.opennebula.org users@lists.opennebula.org Sent: Thursday, September 26, 2013 2:44 PM Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box Dear Cyrlle, Thanks for your support. According to your metions, here is the output I got out: oneadmin@OneVMHost:~/var/11$ ls -lArth /var/lib/one/var//datastores/0/8/disk.1 -rw-rw 1 libvirt-qemu kvm 370K Sep 26 00:12 /var/lib/one/var//datastores/0/8/disk.1 oneadmin@OneVMHost:~/var/11$ cat /etc/group |grep oneadmin root:x:0:oneadmin oneadmin:x:1:oneadmin kvm:x:110:oneadmin libvirtd:x:111:thaibinhtt,oneadmin oneadmin@OneVMHost:~/var/11$ Best Regards, NDTBinh From: Duverne, Cyrille cyrille.duve...@euranova.eu To: thái bình thaibin...@yahoo.com; users@lists.opennebula.org users@lists.opennebula.org Sent: Wednesday, September 25, 2013 11:18 PM Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box Hello Thai, Could you give the output of : ls -lArth /var/lib/one/var//datastores/0/8/disk.1 ? Another thought : Is oneadmin part of the libvirt group ? Cheers Cyrille Eura Nova Twitter : @CydsWorld At Tuesday, 24/09/2013 on 19:58 thái bình wrote: Dear, I am trying to live migrate from KVM host to another KVM host but I always catch an error message which I quote below. Does anyone know the reason and how to solve this problem ? oneadmin@OneVMHost:~/var/8$ cat vm.log Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG. Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0 Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1 Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/8/deployment.0 Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver operation: post. Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver operation: save. Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: clean. Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1 Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint failed: error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path /var/lib/one/var//datastores/0/8/disk.1: Permission denied Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1 Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver operation: restore. Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED Many thanks, NDTBinh ___ 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
Re: [one-users] vmware migreate error
hi, i find at http://opennebula.org/documentation:rel4.2:devel-vmm there is migrate on kvm , but how can i config the vmware driver like this ? VM_MAD = [ name = vmware, executable = one_vmm_exec, arguments = -t 15 -r 0 -l migrate,save vmware, default= vmm_exec/vmm_exec_vmware.conf, type = vmware] i want to migrate online At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote: Hi there, We would need a bit more of context of that log file, could you send an excerpt covering 10 lines before and after? Also, it would be good to know which version of OpenNebula, and which migration are you trying to invoke (cold or live migration). If it is a live migration, please bear in mind that you would need a working vCenter installation, with vMotion capabilities. Best regards, -Tino -- 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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote: hi man, today i have a try to migrate one vm ,but it faild the log : rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:! my environment 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores system and the datastores iamge into it, and mount the iscsi disk /var/lib/one/datastore) 2, x3650 install vmware esxi 5.1 3.x3650 install vmware esxi 5.1 i have already add the two esxi to the onehost ,and i can create vm on both, but i want to migrate one vm one vmware1 to vmware 2 it faild. what is wrong ? pls gave me some ideals . thinks ___ 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
Re: [one-users] vmware migreate error
Hi, You need to set the following in the vmwarerc file: --- :datacenter(only for vMotion) name of the datacenter where the hosts have been registered. :vcenter(only for vMotion) name or IP of the vCenter that manage the ESX hosts --- Then you will need to use the following to livemigrate VM (vid) to a particular host (hostid): $ onevm migrate --live vid hostid Hope it helps, -Tino -- 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 Wed, Sep 25, 2013 at 7:50 AM, hansz hanshizhun...@126.com wrote: hi , the version is 4.2 and esxi 5.1, follow your advices,i have ready create a working vCenter with vMotion capabilities. and i can migrate vm from esxi5.1(1)to esxi 5.2 (2) use vcenter, but how can i use opennebula do migration , i see in the vmwarerc file has :vcenter should i write like vcenter: 192.168.1.1 or not, i want to try live migration thinks for some advices. At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote: Hi there, We would need a bit more of context of that log file, could you send an excerpt covering 10 lines before and after? Also, it would be good to know which version of OpenNebula, and which migration are you trying to invoke (cold or live migration). If it is a live migration, please bear in mind that you would need a working vCenter installation, with vMotion capabilities. Best regards, -Tino -- 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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote: hi man, today i have a try to migrate one vm ,but it faild the log : rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:! my environment 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores system and the datastores iamge into it, and mount the iscsi disk /var/lib/one/datastore) 2, x3650 install vmware esxi 5.1 3.x3650 install vmware esxi 5.1 i have already add the two esxi to the onehost ,and i can create vm on both, but i want to migrate one vm one vmware1 to vmware 2 it faild. what is wrong ? pls gave me some ideals . thinks ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] vmware migreate error log
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). At 2013-09-26 16:31:22,hansz hanshizhun...@126.com wrote: hi, i find at http://opennebula.org/documentation:rel4.2:devel-vmm there is migrate on kvm , but how can i config the vmware driver like this ? VM_MAD = [ name = vmware, executable = one_vmm_exec, arguments = -t 15 -r 0 -l migrate,save vmware, default= vmm_exec/vmm_exec_vmware.conf, type = vmware] i want to migrate online At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote: Hi there, We would need a bit more of context of that log file, could you send an excerpt covering 10 lines before and after? Also, it would be good to know which version of OpenNebula, and which migration are you trying to invoke (cold or live migration). If it is a live migration, please bear in mind that you would need a working vCenter installation, with vMotion capabilities. Best regards, -Tino -- 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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote: hi man, today i have a try to migrate one vm ,but it faild the log : rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:! my environment 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores system and the datastores iamge into it, and mount the iscsi disk /var/lib/one/datastore) 2, x3650 install vmware esxi 5.1 3.x3650 install vmware esxi 5.1 i have already add the two esxi to the onehost ,and i can create vm on both, but i want to migrate one vm one vmware1 to vmware 2 it faild. what is wrong ? pls gave me some ideals . thinks ___ 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
Re: [one-users] vmware migreate error
Hi, Sure, you can issue a migrate --live from Susntone, Virtual Machine tab. Best, -Tino -- 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 Thu, Sep 26, 2013 at 10:58 AM, hansz hanshizhun...@126.com wrote: can i use sunstone? not use command line for my client are not inablity use it ? At 2013-09-26 16:53:24,Tino Vazquez cvazq...@c12g.com wrote: Hi, You need to set the following in the vmwarerc file: --- :datacenter(only for vMotion) name of the datacenter where the hosts have been registered. :vcenter(only for vMotion) name or IP of the vCenter that manage the ESX hosts --- Then you will need to use the following to livemigrate VM (vid) to a particular host (hostid): $ onevm migrate --live vid hostid Hope it helps, -Tino -- 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 Wed, Sep 25, 2013 at 7:50 AM, hansz hanshizhun...@126.com wrote: hi , the version is 4.2 and esxi 5.1, follow your advices,i have ready create a working vCenter with vMotion capabilities. and i can migrate vm from esxi5.1(1)to esxi 5.2 (2) use vcenter, but how can i use opennebula do migration , i see in the vmwarerc file has :vcenter should i write like vcenter: 192.168.1.1 or not, i want to try live migration thinks for some advices. At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote: Hi there, We would need a bit more of context of that log file, could you send an excerpt covering 10 lines before and after? Also, it would be good to know which version of OpenNebula, and which migration are you trying to invoke (cold or live migration). If it is a live migration, please bear in mind that you would need a working vCenter installation, with vMotion capabilities. Best regards, -Tino -- 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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote: hi man, today i have a try to migrate one vm ,but it faild the log : rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:! my environment 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores system and the datastores iamge into it, and mount the iscsi disk /var/lib/one/datastore) 2, x3650 install vmware esxi 5.1 3.x3650 install vmware esxi 5.1 i have already add the two esxi to the onehost ,and i can create vm on both, but i want to migrate one vm one vmware1 to vmware 2 it faild. what is wrong ? pls gave me some ideals . thinks ___ Users mailing list Users@lists.opennebula.org
Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box
Hello Thai, Looks like the ownership of disk.1 isn't correct, this might be due to bad dynamic_ownership config in /etc/libvirt/qemu.conf. Could you run : sudo cat /etc/libvirt/qemu.conf | grep ownership If you get dynamic_ownership=1 , please edit the file and set it to 0 To gain access on the disk.1 of your VM, run : sudo chown oneadmin:oneadmin /var/lib/one/var//datastores/0/8/disk.1 And try to livemigrate your VM again, and try to create a new one and livemigrate it as well. Hope you'll fix your issue. Kind regards Cyrille At Thursday, 26/09/2013 on 9:51 thái bình wrote: Dear Cyrille, I got mistake editing the commad ls. I correct it output in the red. Best regards, NDTBinh - From: thái bình To: Duverne, Cyrille ; users@lists.opennebula.org Sent: Thursday, September 26, 2013 2:44 PM Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVMhypervisor on Ubuntu 12.05 box Dear Cyrlle, Thanks for your support. According to your metions, here is the output I got out: oneadmin@OneVMHost:~/var/11$ ls -lArth /var/lib/one/var//datastores/0/8/disk.1 -rw-rw 1 libvirt-qemu kvm 370K Sep 26 00:12 /var/lib/one/var//datastores/0/8/disk.1 oneadmin@OneVMHost:~/var/11$ cat /etc/group |grep oneadmin root:x:0:oneadmin oneadmin:x:1:oneadmin kvm:x:110:oneadmin libvirtd:x:111:thaibinhtt,oneadmin oneadmin@OneVMHost:~/var/11$ Best Regards, NDTBinh - From: Duverne, Cyrille To: thái bình ; users@lists.opennebula.org Sent: Wednesday, September 25, 2013 11:18 PM Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box Hello Thai, Could you give the output of : ls -lArth /var/lib/one/var//datastores/0/8/disk.1 ? Another thought : Is oneadmin part of the libvirt group ? Cheers Cyrille Eura Nova Twitter : @CydsWorld At Tuesday, 24/09/2013 on 19:58 thái bình wrote: Dear, I am trying to live migrate from KVM host to another KVM host but I always catch an error message which I quote below. Does anyone know the reason and how to solve this problem ? oneadmin@OneVMHost:~/var/8$ cat vm.log Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG. Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2 in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0 Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1 Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/8/deployment.0 Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy. Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver operation: post. Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization driver operation: save. Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: clean. Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0 Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver operation: pre. Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore /var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1 Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint failed: error: Failed to restore domain from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path /var/lib/one/var//datastores/0/8/disk.1: Permission denied Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1 Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization driver operation: restore. Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not restore from /var/lib/one/var//datastores/0/8/checkpoint Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED Many thanks, NDTBinh ___ Users mailing list Users@lists.opennebula.org
Re: [one-users] Cloud bursting from OpenNebula to EC2
Hi Francesco, Yes this is a known regression, you can still use EC2 only templates, but we are working to fix it in the next release. More information here: http://dev.opennebula.org/issues/2092 Cheers Ruben On Tue, Sep 24, 2013 at 11:40 PM, Francesco Ceccarelli cecca...@fnal.govwrote: Hello everyone, I managed to burst an instance in EC2 using the following template and ONE3.2: #VCPU = 1 #MEMORY = 2048 OS = [ ARCH = x86_64 ] DISK = [ IMAGE_ID = 5, target = vda ] DISK = [ type = swap, size = 5120, target = vdb ] FEATURES=[ acpi=yes ] GRAPHICS = [ type= vnc, listen = 127.0.0.1, port= -1, autoport = yes, keymap=en-us ] REQUIREMENTS = HYPERVISOR=\kvm\ EC2 = [ AMI=ami-0027ae30, AUTHORIZED_PORTS=22 ] But the same template is not working in ONE4.2 because the DISK section triggers the transfer manager and the machine falls in the FAILED status. Do you know why? Thanks in advance, Francesco ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - The Open Source Solution for Data Center Virtualization http://lists.opennebula.org/listinfo.cgi/users-opennebula.org www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] DNS search domains and rc.local not being read in VMs
Hello, I posted a few days ago about network configuration seemingly not being picked up properly - I think that was mainly due to my contextualisation packages being for the wrong version, and so the context CDROM device wasn't being mounted. So now I have a separate,, but related issue. I need to be able to have DNS search domains in my /etc/resolv.conf. I tried to achieve this by adding a SEARCH attribute to the virtual network template, but it doesn't seem to be picked up (looking in the context scripts, there's nothing there to pick it up, so that's kind of expected). I then tried to add it in /etc/rc.local, along with some lines to correctly set the hostname based on IP, but this doesn't appear to be being picked up either. Could anyone tell me what might be going wrong here? Could it be the case that rc.local is not being run for some reason at boot? When I test the VM outside ONE, rc.local runs fine... Any help greatly appreciated. Thanks __ __ __ Jerry Steele IT Support Specialist Subsurface Imaging CGGVeritas Services (UK) Ltd Crompton Way Crawley W Sussex RH10 9QN T +44 (0)1293 683264 (Internal: 233264) M +44 (0)7920 237105 www.cgg.comhttp://www.cgg.com/ This email and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited. This email and any accompanying attachments are confidential. If you received this email by mistake, please delete it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenvSwitch intergration
Hi experts, I'm integrating OpenvSwitch with Opennebula. The good news is, they work beautifully together :). Bad news is very less documentation available for OpenvSwitch. Then I have doubt on the new setup of OpenvSwitch. When I deploying VM through Opennebula, it created vnet as expected. Somehow the speed of it downgraded to 10MB-FD compare what I have on physical hardware, 1GB-FD. Could someone please advise me how to ensure that vnet speed same at physical network card? Here is my current configuration: # ovs-vsctl show 8167368c-a8f8-41dd-beab-7984a3e63ddb Bridge ovsbr0 Port ovsbr0 Interface ovsbr0 type: internal Port vnet1 tag: 407 Interface vnet1 Port ovsbond0 Interface eth1 Interface eth0 Port vnet0 tag: 264 Interface vnet0 ovs_version: 1.10.0 # ovs-appctl bond/show ovsbond0 bond_mode: active-backup bond-hash-basis: 0 updelay: 0 ms downdelay: 0 ms lacp_status: negotiated slave eth0: enabled may_enable: true slave eth1: enabled active slave may_enable: true # ovs-ofctl show ovsbr0 OFPT_FEATURES_REPLY (xid=0x2): dpid:e8393524b2b6 n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE 1(eth0): addr:e8:39:35:24:b2:b6 config: 0 state: 0 current:1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max 2(eth1): addr:e8:39:xx:xx:xx:xx config: 0 state: 0 current:1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max 11(vnet0): addr:fe:00:xx:xx:xx:xx config: 0 state: 0 current:10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max 12(vnet1): addr:fe:00:xx:xx:xx:xx config: 0 state: 0 current:10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max LOCAL(ovsbr0): addr:e8:39:xx:xx:xx:xx config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 Best regards, .fahmie -- - - DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may contain confidential information. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message. MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e- mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenvSwitch intergration
If you are using virtio as the network adapter model for your VMs then you will see the interface speed reported as 10MB interfaces (virtio has no limit, and is reported falsely in most tools). You can run a bandwidth test between 2 VMs (or from a VM to another system in your infrastructure) using a tool like iperf to validate. Here's a good blog post that gives a brief overview on how to use it: http://linux.cloudibee.com/2009/02/iperf-network-throughput-measurement-tool/ If using CentOS/RHEL, EPEL has this tool. I believe it is in the Ubuntu/Debian default repositories. - Original Message - From: Shek Mohd Fahmi Abdul Latip fahmi.la...@mimos.my To: users@lists.opennebula.org Cc: Hadi Noira Omar hadi.o...@mimos.my, Shahrin Mohamad Fuzi shahrin.f...@mimos.my Sent: Thursday, September 26, 2013 6:52:15 AM Subject: [one-users] OpenvSwitch intergration Hi experts, I’m integrating OpenvSwitch with Opennebula. The good news is, they work beautifully together J . Bad news is very less documentation available for OpenvSwitch. Then I have doubt on the new setup of OpenvSwitch. When I deploying VM through Opennebula, it created vnet as expected. Somehow the speed of it downgraded to 10MB-FD compare what I have on physical hardware, 1GB-FD. Could someone please advise me how to ensure that vnet speed same at physical network card? Here is my current configuration: # ovs-vsctl show 8167368c-a8f8-41dd-beab-7984a3e63ddb Bridge ovsbr0 Port ovsbr0 Interface ovsbr0 type: internal Port vnet1 tag: 407 Interface vnet1 Port ovsbond0 Interface eth1 Interface eth0 Port vnet0 tag: 264 Interface vnet0 ovs_version: 1.10.0 # ovs-appctl bond/show ovsbond0 bond_mode: active-backup bond-hash-basis: 0 updelay: 0 ms downdelay: 0 ms lacp_status: negotiated slave eth0: enabled may_enable: true slave eth1: enabled active slave may_enable: true # ovs-ofctl show ovsbr0 OFPT_FEATURES_REPLY (xid=0x2): dpid:e8393524b2b6 n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE 1(eth0): addr:e8:39:35:24:b2:b6 config: 0 state: 0 current: 1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max 2(eth1): addr:e8:39:xx:xx:xx:xx config: 0 state: 0 current: 1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max 11(vnet0): addr:fe:00:xx:xx:xx:xx config: 0 state: 0 current: 10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max 12(vnet1): addr:fe:00:xx:xx:xx:xx config: 0 state: 0 current: 10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max LOCAL(ovsbr0): addr:e8:39:xx:xx:xx:xx config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 Best regards, .fahmie -- - - DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may contain confidential information. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message. MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e- mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Virtio CD attach issue
I don't think you can connect a CDROM device as a virtio disk in windows. You *might* be able to get it to work by installing the virtio scsi drivers within your Windows guest machine (http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers), but you might be better off switching the ISO from virtio to standard IDE and target hdc.From: "Jan Benadik" jan.bena...@atos.netTo: users@lists.opennebula.orgSent: Thursday, September 26, 2013 7:01:48 AMSubject: [one-users] Virtio CD attach issue Hello all, I have a problem to attach ISO file with virtio drivers. I have a Windows 7 VM running and virtio ISO file attached (see template): OS BOOT hd ARCH x86_64 RAM 2048 VMID 95 Disk 0 DEV_PREFIX hd DATASTORE_ID 1 Iba na čítanie NO Typ FILE Obraz w7-base SOURCE /var/lib/one/datastores/1/3df2fa681051761d54079efd072cd6f7 TM_MAD shared Cieľ hda SAVE NO Obraz ID 37 DISK_ID 0 DATASTORE default CLONE YES 1 DEV_PREFIX vd DATASTORE_ID 1 Iba na čítanie YES Typ CDROM Obraz virtio-CD SOURCE /var/lib/one/datastores/1/27912faaef06b2b334674c5d171a3851 TM_MAD shared Cieľ vda SAVE NO Obraz ID 17 DISK_ID 1 DATASTORE default CLONE YES CONTEXT Sieť YES ETH0_IP 10.0.5.220 Cieľ hdb DISK_ID 2 TEMPLATE_ID 32 Adaptér VLAN NO IP6_LINK fe80::400:aff:fe00:5dc Sieť test-net IP 10.0.5.220 MAC 02:00:0a:00:05:dc NIC_ID 0 NETWORK_ID 0 BRIDGE br0 GRAPHICS Typ VNC PORT 5995 LISTEN 0.0.0.0 CPU 1 But I cannot see it inside of running VM (see att. pictures) - what is wrong? Jan -- Ján Beňadik Managed Services - Solution Design Architect mobile: +421 903 691 634 fax: +421 2 6852 8380 jan.bena...@atos.net Vinohradnicka 6, 971 01 Prievidza www.sk.atos.net __ ___Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] DNS search domains and rc.local not being read in VMs
There should be DNS scripts in the contextualization packages that provide some assignment of DNS. You should be able to slightly modify a script to pick up that variable you define, i.e. echo search $searchdomain /etc/resolv.conf And define the $searchdomain variable in your network template. Be advised, I only see this script on the Ubuntu context packages (not RHEL/Cent, but could be added either way) - Original Message - From: jerry steele jerry.ste...@cgg.com To: users@lists.opennebula.org Sent: Thursday, September 26, 2013 6:42:23 AM Subject: [one-users] DNS search domains and rc.local not being read in VMs Hello, I posted a few days ago about network configuration seemingly not being picked up properly – I think that was mainly due to my contextualisation packages being for the wrong version, and so the context CDROM device wasn’t being mounted. So now I have a separate,, but related issue. I need to be able to have DNS search domains in my /etc/resolv.conf. I tried to achieve this by adding a SEARCH attribute to the virtual network template, but it doesn’t seem to be picked up (looking in the context scripts, there’s nothing there to pick it up, so that’s kind of expected). I then tried to add it in /etc/rc.local, along with some lines to correctly set the hostname based on IP, but this doesn’t appear to be being picked up either. Could anyone tell me what might be going wrong here? Could it be the case that rc.local is not being run for some reason at boot? When I test the VM outside ONE, rc.local runs fine… Any help greatly appreciated. Thanks __ __ __ Jerry Steele IT Support Specialist Subsurface Imaging CGGVeritas Services (UK) Ltd Crompton Way Crawley W Sussex RH10 9QN T +44 (0)1293 683264 (Internal: 233264) M +44 (0)7920 237105 www.cgg.com This email and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited. This email and any accompanying attachments are confidential. If you received this email by mistake, please delete it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cloud bursting from OpenNebula to EC2
Thanks for the answer! We will wait for the next release. Bye, Francesco On Thu, 2013-09-26 at 12:24 +0200, Ruben S. Montero wrote: Hi Francesco, Yes this is a known regression, you can still use EC2 only templates, but we are working to fix it in the next release. More information here: http://dev.opennebula.org/issues/2092 Cheers Ruben On Tue, Sep 24, 2013 at 11:40 PM, Francesco Ceccarelli cecca...@fnal.gov wrote: Hello everyone, I managed to burst an instance in EC2 using the following template and ONE3.2: #VCPU = 1 #MEMORY = 2048 OS = [ ARCH = x86_64 ] DISK = [ IMAGE_ID = 5, target = vda ] DISK = [ type = swap, size = 5120, target = vdb ] FEATURES=[ acpi=yes ] GRAPHICS = [ type= vnc, listen = 127.0.0.1, port= -1, autoport = yes, keymap=en-us ] REQUIREMENTS = HYPERVISOR=\kvm\ EC2 = [ AMI=ami-0027ae30, AUTHORIZED_PORTS=22 ] But the same template is not working in ONE4.2 because the DISK section triggers the transfer manager and the machine falls in the FAILED status. Do you know why? Thanks in advance, Francesco ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Nodet not mountin
Hi I am installing Opennebula 4.2 on Ubuntu 12.04 , front end and one node, i am getting this error, could some one guide me to fix it? Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 0 node1.com; else exit 42; fi' ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Nodet not mountin
Can you provide more context about the error message, like what were you doing when this happened? Randall On 09/26/2013 03:13 PM, Luis wrote: Hi I am installing Opennebula 4.2 on Ubuntu 12.04 , front end and one node, i am getting this error, could some one guide me to fix it? Command execution fail: 'if [ -x /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 0 node1.com; elseexit 42; fi' ___ 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] VM not running
Hi I was installing Opennebula, i fixed some problems but i have this when i am creating a VM Thu Sep 26 18:43:04 2013 [ReM][D]: Req:9984 UID:0 ImagePoolInfo result SUCCESS, IMAGE_POOLIMAGE... Thu Sep 26 18:43:06 2013 [VMM][D]: Message received: LOG I 0 Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0' 'node1' 0 node1 I am using Opennebula 4.2, one frontend with sunstone and a node, i can ssh without password, any idea i will apreciate. thank you.___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Problem:scons parsers=yes
Dear: When I compile opennebula-4.2 use parsers=yes,Then errrors: build_bison([src/template/template_syntax.cc, src/template/template_syntax.h], [src/template/template_syntax.y]) g++ -o src/template/Template.o -c -I/usr/local/oce/third/flex-2.5.37/include -g -Wall -DSQLITE_DB -Iinclude -I/usr/local/oce/third/xmlrpc-c-1.25.24/include -I/usr/include/libxml2 src/template/Template.cc template_syntax.hh:100: error: 'mem_collector' was not declared in this scope template_syntax.hh:100: error: 'mc' was not declared in this scope template_syntax.hh:100: error: expected primary-expression before '*' token template_syntax.hh:100: error: 'tmpl' was not declared in this scope template_syntax.hh:100: error: expected primary-expression before 'char' template_syntax.hh:100: error: initializer expression list treated as compound expression scons: *** [src/template/Template.o] Error 1 scons: building terminated because of errors. [oce@ocean opennebula-4.2.0]$ which bison /usr/local/oce/third/bison-2.7.1/bin/bison [oce@ocean opennebula-4.2.0]$ which flex /usr/local/oce/third/flex-2.5.37/bin/flex [oce@ocean opennebula-4.2.0]$ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Error executing image transfer script: Transfer Driver 'shh' not available
Hi I' m new to OpenNebula. I m use OpenNebula 4.2 with hypervisor xen and version 4.1.2. My host machines have Ubuntu 12.04.2 LTS installed on dx7400 machine with Q6600 processor without Vrtualization. Host machine xen has xm command.I use Ubuntu PV guest image which was prepared according to below link 1. But when I start to deploy host I got below error message. Error executing image transfer script: Transfer Driver 'shh' not available Log: Thu Sep 26 08:27:26 2013 [DiM][I]: New VM state is ACTIVE. Thu Sep 26 08:27:26 2013 [LCM][I]: New VM state is PROLOG. Thu Sep 26 08:33:43 2013 [TM][E]: Error executing image transfer script: Transfer Driver 'shh' not available Thu Sep 26 08:33:43 2013 [DiM][I]: New VM state is FAILED oned.conf file required configuration has show below and aditional details about my datastores also given in Additional Details section of this email. Can anyone tell me what is the wrong in my configuration and does opennebula supprt xen paravirtulization ? or at what point should I start troubleshooting ? Thank You link 1: https://help.ubuntu.com/community/Xen#Manually_creating_a_PV_Guest_VM --Required Configuration--- # Virtualization Driver Configuration # Driver for Xen 3.x IM_MAD = [ name = xen, executable = one_im_ssh, arguments = xen3 ] # Transfer Manager Driver Configuration TM_MAD = [ name = tm_ssh, executable = one_tm, arguments = -t 15 -d ssh] # Datastore Driver Configuration DATASTORE_MAD = [ executable = one_datastore, arguments = -t 15 -d dummy,fs,vmfs,iscsi,lvm,ceph ] ---Additional Details-- $onedatastore list ID NAME | SIZE | AVAIL | CLUSTER | IMAGES | TYPE | DS | TM 0 system - -- 0 sys - shh 1 default 133.9G89% - 2 img fs ssh 2 files 133.9G89% - 0 fil fs ssh $onedatastore show 1 DATASTORE 1 INFORMATION ID : 1 NAME : default USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : fs TM_MAD : ssh BASE PATH : /var/lib/one/datastores/1 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : 133.9G USED: : 8G FREE: : 118.6G PERMISSIONS OWNER : um- GROUP : u-- OTHER : u-- DATASTORE TEMPLATE DS_MAD=fs TM_MAD=ssh TYPE=IMAGE_DS IMAGES 0 1 - VIRTUAL MACHINE TEMPLATE CONTEXT=[ DISK_ID=1, ETH0_DNS=192.248.16.91, ETH0_GATEWAY=10.22.129.254, ETH0_IP=10.22.129.163, NETWORK=YES, TARGET=hdb ] CPU=0.5 GRAPHICS=[ LISTEN=0.0.0.0, PORT=5909, TYPE=VNC ] MEMORY=768 OS=[ ARCH=x86_64, BOOT=hd, ROOT=oneadmin ] TEMPLATE_ID=3 VMID=9 --- IMAGE 1 INFORMATION ID : 1 NAME : Ubuntubackup USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 09/25 10:54:13 PERSISTENT : No SOURCE : /var/lib/one/datastores/1/1ee31dfecaf79ad628ef78eee0d1ac74 PATH : /var/lib/one/datastores/1/1c3dbb3dc4e29f2089c497f2c7e3f761 SIZE : 4G STATE : used RUNNING_VMS: 1 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE DESCRIPTION=Ubuntu 12.04 server image DEV_PREFIX=hd FSTYPE= --- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org