[one-users] onevm migrate error in opennebula-3.8.3;
Hi! I meet an error when i execute the command - onevm migrate, and the error log as follows. I know migration action is consisted of three sub-actions: virsh save -- scp disk.0 and checkpoint -- virsh restore. Howerver, I cann't see logs of scp disk.0 and checkpoint. what is that all about? Wether or not i ignore something or i don't understand the source code well. Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 ExitCode: 0 Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 Successfully execute network driver operation: pre. Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 Command execution fail: /var/tmp/one/vmm/kvm/restore /data0/0/44/checkpoint node1 44 node1 Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG E 44 restore: Command virsh --connect qemu:///system restore /data0/0/44/checkpoint failed: error: Failed to restore domain from /data0/0/44/checkpoint Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 error: Failed to create file '/data0/0/44/checkpoint': Operation not permitted Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG E 44 Could not restore from /data0/0/44/checkpoint Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 ExitCode: 1 Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: LOG I 44 Failed to execute virtualization driver operation: restore. Fri Mar 15 15:02:45 2013 [VMM][D]: Message received: RESTORE FAILURE 44 Could not restore from /data0/0/44/checkpoint ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] creating windows xp vm in opennebula sandbox
Dear users, Hi, My name is K R K Sidhartha from Visakhapatnam,India,I am writing this mail requesting your assistance for creating an Windows Xp VM.I have installed opennebula using the cloud sandbox(using kvm as per the instructions given in opennebula.org). Kindly brief me the detailed creation of Windows XP VM. Thanking You, K R K Sidhartha K. RAMA KRISHNA SIDHARTHA___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] why doesn't opennebula judge the host capacity except for actions related to scheduler?
Hi Here: Deploy https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L486 Migrate (Live or not) https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L603 Check function test the capacity, here: https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L224 Cheers Ruben On Fri, Mar 15, 2013 at 3:09 AM, cmcc.dylan dx10ye...@126.com wrote: Thanks Ruben! I read the source code related to cold migration, but i don't find judgement places about CPU. That is to say, the test_capacity function isn't called in the cold migration. Is it right? If you please, can you poit out how opennebula does? Thank you very much! At 2013-03-14 17:13:17,Ruben S. Montero rsmont...@opennebula.org wrote: Hi About the first problem (-2). This should be fixed in OpenNebula 3.8.3, are you using that version? If so can you send the output of onehost sh ow -x host_id before and after the migration. About the second problem (capacity checks). We have included the '--enforce' option to enforce that the host capacity is not exceeded for onevm migrate and livemigrate. (The new onevm resize command also accepts that options so you can enforce that the host capacity is not overcommitted when re-sizing the VM capacity). Cheers Ruben On Thu, Mar 14, 2013 at 6:07 AM, cmcc.dylan dx10ye...@126.com wrote: Hi everyone! I doubt about this problem for a long time and i also prove it using some test case. Firstly, let's describe the problem as follows: I manage two host machines using opennebula and they both have 4 cores in total. I deploy vm1 which has 2 cores in host1 and deploy vm2 which has 4 cores in host2. After that, I migrate vm1 to host2, to my surprise it success and the free cpu of host2 becomes -2. so i read the source code related to virtual machine's migration, and i find this is no judgement of host resources' capacity in the whole migration process. Source codes as follows: vm-get_requirements(cpu,mem,disk); hpool-add_capacity(vm-get_hid(),cpu,mem,disk); And i also seek what actions does opennebula to test host resources' capacity and find only two places and they also related to scheduler.For example: (1)void Scheduler::match() (2)int VirtualMachineXML::get_host() Only the two place call the funstion - test_capacity(cpu,mem,dsk) to judge the host resources. i'm sorry if i don't describe the problem clearly. Hope someone to help and communication with me. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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 -- 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] @VNC Problem
Hi All, I am sending the sunstone.log with this mail for vnc problem. == Sinatra/1.3.5 has taken the stage on 9869 for development with backup from Thin /var/lib/gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:912: command not found: /usr/share/one/noVNC 35821 oneadmin:5945 I have installed gems and noVNC successfully at /srv/cloud/one/share . I haveadded vnc_proxy_path: /usr/share/one/noVNC/utils for websockify in sunstone-server.conf. When I click on the vnc icon for running vm in sunstone nothing appears on screen only one messgae comes that vm submitted. I checked the sunstone.log the vnc is starting. Tried every solution given on opennebula site and tried solutions proposed in users mailing list present on net. Unable to solve the problem . Plz help. Thanks in advance . -- Prachi D. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] why doesn't opennebula judge the host capacity except for actions related to scheduler?
Hi Forgot to mention that these changes are in master, and that's probably the reason you missed them in the fist place Ruben On Fri, Mar 15, 2013 at 9:55 AM, Ruben S. Montero rsmont...@opennebula.orgwrote: Hi Here: Deploy https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L486 Migrate (Live or not) https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L603 Check function test the capacity, here: https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerVirtualMachine.cc#L224 Cheers Ruben On Fri, Mar 15, 2013 at 3:09 AM, cmcc.dylan dx10ye...@126.com wrote: Thanks Ruben! I read the source code related to cold migration, but i don't find judgement places about CPU. That is to say, the test_capacity function isn't called in the cold migration. Is it right? If you please, can you poit out how opennebula does? Thank you very much! At 2013-03-14 17:13:17,Ruben S. Montero rsmont...@opennebula.org wrote: Hi About the first problem (-2). This should be fixed in OpenNebula 3.8.3, are you using that version? If so can you send the output of onehost sh ow -x host_id before and after the migration. About the second problem (capacity checks). We have included the '--enforce' option to enforce that the host capacity is not exceeded for onevm migrate and livemigrate. (The new onevm resize command also accepts that options so you can enforce that the host capacity is not overcommitted when re-sizing the VM capacity). Cheers Ruben On Thu, Mar 14, 2013 at 6:07 AM, cmcc.dylan dx10ye...@126.com wrote: Hi everyone! I doubt about this problem for a long time and i also prove it using some test case. Firstly, let's describe the problem as follows: I manage two host machines using opennebula and they both have 4 cores in total. I deploy vm1 which has 2 cores in host1 and deploy vm2 which has 4 cores in host2. After that, I migrate vm1 to host2, to my surprise it success and the free cpu of host2 becomes -2. so i read the source code related to virtual machine's migration, and i find this is no judgement of host resources' capacity in the whole migration process. Source codes as follows: vm-get_requirements(cpu,mem,disk); hpool-add_capacity(vm-get_hid(),cpu,mem,disk); And i also seek what actions does opennebula to test host resources' capacity and find only two places and they also related to scheduler.For example: (1)void Scheduler::match() (2)int VirtualMachineXML::get_host() Only the two place call the funstion - test_capacity(cpu,mem,dsk) to judge the host resources. i'm sorry if i don't describe the problem clearly. Hope someone to help and communication with me. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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 -- 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 -- 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