[one-users] Problem submitting Vms
Tino Vazquez
tinova at fdi.ucm.es
Wed Jul 14 03:16:01 PDT 2010
Hi Luca,
Yes, changing the locales to english might be a good idea.
About the libvirt problem you mention, it could be that the physical host is
overloaded. Are you using the same host as front-end and for hosting VMs? If
that is the case, try switching off other services.
Best regards,
-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
On Tue, Jul 6, 2010 at 4:35 PM, Luca Lorenzini <lorenzini.luca at gmail.com>wrote:
> I used Opennebula 1.2 and recentry my lab admin has finally installed the
> 1.4 but i've a problem when a submit a Vm (i this case the ttylinux image):
> when i create a vm with the command "*onevm create ttylinux.one*" i
> noticed that the status of the vm remain in pending (with 1.2 the vm was
> autodeployed on a free host) so i decided to deploy it manually with *"onevm
> deploy 0 0" *command (where first 0 is the id of the vm and the second the
> id of the host). But the Vm status turns to Fail. These are the logs:
>
>
> ~~~~~~ oned.log ~~~~~~~~~
>
>
> Tue Jul 6 16:15:25 2010 [DiM][D]: Deploying VM 0
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: LOG - 0 tm_ln.sh:
> Creating directory /var/lib/one/0/images
>
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: LOG - 0 tm_ln.sh:
> Executed "mkdir -p /var/lib/one/0/images".
>
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: LOG - 0 tm_ln.sh:
> Executed "chmod a+w /var/lib/one/0/images".
>
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: LOG - 0 tm_ln.sh: Link
> /home/luca/images/ttylinux.img
>
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: LOG - 0 tm_ln.sh:
> Executed "ln -s /home/luca/images/ttylinux.img
> /var/lib/one/0/images/disk.0".
>
> Tue Jul 6 16:15:27 2010 [TM][D]: Message received: TRANSFER SUCCESS 0 -
>
> Tue Jul 6 16:15:38 2010 [InM][I]: Monitoring host ludovico.cs.unibo.it(0)
> Tue Jul 6 16:15:46 2010 [InM][D]: Host 0 successfully monitored.
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: LOG - 0 Command
> execution fail: 'mkdir -p /home/luca/onevm//0/images && cat >
> /home/luca/onevm//0/images/deployment.0 && virsh --connect qemu:///system
> create /home/luca/onevm//0/images/deployment.0'
>
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: LOG - 0 STDERR
> follows.
>
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: LOG - 0 errore:
> Impossibile creare il dominio da /home/luca/onevm//0/images/deployment.0
>
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: LOG - 0 errore:
> monitor socket did not show up.: Connection refused
>
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: LOG - 0 ExitCode: 1
>
> Tue Jul 6 16:15:58 2010 [VMM][D]: Message received: DEPLOY FAILURE 0 -
>
> Tue Jul 6 16:15:59 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Jul 6 16:15:59 2010 [TM][D]: Message received: LOG - 0 tm_delete.sh:
> Deleting /var/lib/one/0/images
>
> Tue Jul 6 16:15:59 2010 [TM][D]: Message received: LOG - 0 tm_delete.sh:
> Executed "rm -rf /var/lib/one/0/images".
>
> Tue Jul 6 16:15:59 2010 [TM][D]: Message received: TRANSFER SUCCESS 0 -
>
>
>
>
>
> ~~~~~~ 0.log ~~~~~~~~~~~~
>
> Tue Jul 6 16:15:25 2010 [DiM][I]: New VM state is ACTIVE.
> Tue Jul 6 16:15:26 2010 [LCM][I]: New VM state is PROLOG.
> Tue Jul 6 16:15:26 2010 [VM][I]: Virtual Machine has no context
> Tue Jul 6 16:15:27 2010 [TM][I]: tm_ln.sh: Creating directory
> /var/lib/one/0/images
> Tue Jul 6 16:15:27 2010 [TM][I]: tm_ln.sh: Executed "mkdir -p
> /var/lib/one/0/images".
> Tue Jul 6 16:15:27 2010 [TM][I]: tm_ln.sh: Executed "chmod a+w
> /var/lib/one/0/images".
> Tue Jul 6 16:15:27 2010 [TM][I]: tm_ln.sh: Link
> /home/luca/images/ttylinux.img
> Tue Jul 6 16:15:27 2010 [TM][I]: tm_ln.sh: Executed "ln -s
> /home/luca/images/ttylinux.img /var/lib/one/0/images/disk.0".
> Tue Jul 6 16:15:27 2010 [LCM][I]: New VM state is BOOT
> Tue Jul 6 16:15:27 2010 [VMM][I]: Generating deployment file:
> /var/lib/one/0/deployment.0
> Tue Jul 6 16:15:58 2010 [VMM][I]: Command execution fail: 'mkdir -p
> /home/luca/onevm//0/images && cat > /home/luca/onevm//0/images/deployment.0
> && virsh --connect qemu:///system create
> /home/luca/onevm//0/images/deployment.0'
> Tue Jul 6 16:15:58 2010 [VMM][I]: STDERR follows.
> Tue Jul 6 16:15:58 2010 [VMM][I]: errore: Impossibile creare il dominio da
> /home/luca/onevm//0/images/deployment.0
> Tue Jul 6 16:15:58 2010 [VMM][I]: errore: monitor socket did not show up.:
> Connection refused
> Tue Jul 6 16:15:58 2010 [VMM][I]: ExitCode: 1
> Tue Jul 6 16:15:58 2010 [VMM][E]: Error deploying virtual machine
> Tue Jul 6 16:15:59 2010 [DiM][I]: New VM state is FAILED
> Tue Jul 6 16:15:59 2010 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Deleting
> /var/lib/one/0/images
>
> Tue Jul 6 16:15:59 2010 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Executed
> "rm -rf /var/lib/one/0/images".
>
> Tue Jul 6 16:15:59 2010 [TM][W]: Ignored: TRANSFER SUCCESS 0 -
>
>
> ~~~~~~ ttylinux.one ~~~~~~~~~~~~
> NAME = ttylinux-test
> MEMORY = 256
> CPU=0.5
>
> OS = [boot=hd,kernel=/vmlinuz]
>
> DISK = [
> source = "/home/luca/images/ttylinux.img",
> target = "hda",
> readonly = "no",
> clone = "no"]
>
> NIC = [ NETWORK = "private" ]
>
> FEATURES=[ acpi="no" ]
> GRAPHICS =[type ="vnc",listen ="127.0.0.1", port = "14"]
>
>
>
> I tried to submit the vm manually to virsh but i get the same error. There
> is some problem with libvirtd?! i remember that i havent configured libvirtd
> with 1.2, should i do something with 1.4? Could the problem be generated
> because of i've Eucalyptus running too on the same machine?
>
> I've saw another bug in the probes: as you can read from the log the
> machine has been installed with italian language so the vmm logs are in
> italian. The problem occurs in the /usr/lib/one/im_probes/kvm.rb script that
> parse the virsh nodeinfo output with english string (Ex: Memory usage) and
> onehost command show nothing about the node resources allocation (maybe the
> autosubmit problem derive from these thing. I suppose the scheduler thinks
> that the host has no memory enough to the vm so it doesnt submit the Vm at
> all).
>
>
> I will really appreciate your help
>
> Luca
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100714/b6b7c950/attachment.htm>
More information about the Users
mailing list