[one-users] onevm create failed

Steven Timm timm at fnal.gov
Sat Dec 4 15:06:13 PST 2010


It is failing because opennebula can't find the Xen binary.
It is looking for it in /usr/sbin/xm.  do you have
that installed on the host nodes?

Steve


On Sun, 5 Dec 2010, sufian.abu-rab at freenet.de wrote:

> hi, i have two workstations connected to each other, one frontend-host and one execution-host. the hypervisor is xen. i try to create a vm with the command onevm create debian vm_instance.template, but it failed when i run onevm show debian.
>  
> my config file is attached to this email. the log message is pasted below:
> thank you and greetings from mannheim germany
> Log-Datei 1: ÿÿ/var/12/vm.log:Sat Dec  4 15:40:47 2010 [DiM][I]: New VM state is ACTIVE.
> Sat Dec  4 15:40:47 2010 [LCM][I]: New VM state is PROLOG.
> Sat Dec  4 15:40:47 2010 [VM][I]: Virtual Machine has no context
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Creating directory /srv/cloud/one/var/images/12/images
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Link /srv/cloud/images/debian_disk.img
> Sat  Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "ln -s  /srv/cloud/images/debian_disk.img  /srv/cloud/one/var/images/12/images/disk.0".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Creating directory /srv/cloud/one/var/images/12/images
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Link /srv/cloud/images/debian-506-amd64-netinst.iso
> Sat  Dec  4 15:40:47 2010 [TM][I]: tm_ln.sh: Executed "ln -s  /srv/cloud/images/debian-506-amd64-netinst.iso  /srv/cloud/one/var/images/12/images/disk.1".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Creating directory /srv/cloud/one/var/images/12/images
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in /srv/cloud/one/var/images/12/images/disk.2
> Sat  Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Executed "/bin/dd  if=/dev/zero of=/srv/cloud/one/var/images/12/images/disk.2 bs=1 count=1  seek=1024M".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Initializing swap space
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap /srv/cloud/one/var/images/12/images/disk.2".
> Sat Dec  4 15:40:47 2010 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images/disk.2".
> Sat Dec  4 15:40:55 2010 [TM][I]: tm_mkimage.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
> Sat  Dec  4 15:40:55 2010 [TM][I]: tm_mkimage.sh: Executed "/bin/dd  if=/dev/zero of=/srv/cloud/one/var/images/12/images/disk.3 bs=1 count=1  seek=4096M".
> Sat Dec  4 15:40:55 2010 [TM][I]: tm_mkimage.sh: Executed "/sbin/mkfs -t ext3 -F /srv/cloud/one/var/images/12/images/disk.3".
> Sat Dec  4 15:40:55 2010 [TM][I]: tm_mkimage.sh: Executed "chmod a+rw /srv/cloud/one/var/images/12/images/disk.3".
> Sat Dec  4 15:40:55 2010 [LCM][I]: New VM state is BOOT
> Sat Dec  4 15:40:55 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/12/deployment.0
> Sat  Dec  4 15:40:55 2010 [VMM][I]: Command execution fail:  /srv/cloud/one/lib/remotes/vmm/xen/deploy node1  /srv/cloud/one/var/12/deployment.0
> Sat Dec  4 15:40:55 2010 [VMM][I]: STDERR follows.
> Sat Dec  4 15:40:55 2010 [VMM][I]: sudo: /usr/sbin/xm: command not found
> Sat Dec  4 15:40:55 2010 [VMM][I]: ExitCode: 1
> Sat Dec  4 15:40:55 2010 [VMM][E]: Error deploying virtual machine
> Sat Dec  4 15:40:55 2010 [DiM][I]: New VM state is FAILED
> Sat Dec  4 15:40:55 2010 [TM][W]: Ignored: LOG - 12 tm_delete.sh: Deleting /srv/cloud/one/var/images/12/images
>
> Sat Dec  4 15:40:55 2010 [TM][W]: Ignored: LOG - 12 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var/images/12/images".
>
> Sat Dec  4 15:40:55 2010 [TM][W]: Ignored: TRANSFER SUCCESS 12 -
>
>
>
> Log-Datei 2: ÿÿ/var/oned.log:Sat Dec  4 15:40:17 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Dec  4 15:40:20 2010 [ReM][D]: VirtualMachineAllocate invoked
> Sat Dec  4 15:40:47 2010 [ReM][D]: HostPoolInfo method invoked
> Sat Dec  4 15:40:47 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Sat Dec  4 15:40:47 2010 [ReM][D]: VirtualMachineDeploy invoked
> Sat Dec  4 15:40:47 2010 [DiM][D]: Deploying VM 12
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Creating directory /srv/cloud/one/var/images/12/images
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Link /srv/cloud/images/debian_disk.img
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh:  Executed "ln -s /srv/cloud/images/debian_disk.img  /srv/cloud/one/var/images/12/images/disk.0".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Creating directory /srv/cloud/one/var/images/12/images
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Executed "mkdir -p /srv/cloud/one/var/images/12/images".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Executed "chmod a+w /srv/cloud/one/var/images/12/images".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh: Link /srv/cloud/images/debian-506-amd64-netinst.iso
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_ln.sh:  Executed "ln -s /srv/cloud/images/debian-506-amd64-netinst.iso  /srv/cloud/one/var/images/12/images/disk.1".
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Creating directory /srv/cloud/one/var/images/12/images
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Executed "mkdir -p /srv/cloud/one/var/images/12/images".
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Executed "chmod a+w /srv/cloud/one/var/images/12/images".
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Creating 1024Mb image in /srv/cloud/one/var/images/12/images/disk.2
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Executed "/bin/dd if=/dev/zero  of=/srv/cloud/one/var/images/12/images/disk.2 bs=1 count=1 seek=1024M".
>
> Sat Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh: Initializing swap space
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Executed "/sbin/mkswap /srv/cloud/one/var/images/12/images/disk.2".
>
> Sat  Dec  4 15:40:47 2010 [TM][D]: Message received: LOG - 12 tm_mkswap.sh:  Executed "chmod a+w /srv/cloud/one/var/images/12/images/disk.2".
>
> Sat  Dec  4 15:40:55 2010 [TM][D]: Message received: LOG - 12 tm_mkimage.sh:  Executed "mkdir -p /srv/cloud/one/var/images/12/images".
>
> Sat  Dec  4 15:40:55 2010 [TM][D]: Message received: LOG - 12 tm_mkimage.sh:  Executed "/bin/dd if=/dev/zero  of=/srv/cloud/one/var/images/12/images/disk.3 bs=1 count=1 seek=4096M".
>
> Sat  Dec  4 15:40:55 2010 [TM][D]: Message received: LOG - 12 tm_mkimage.sh:  Executed "/sbin/mkfs -t ext3 -F  /srv/cloud/one/var/images/12/images/disk.3".
>
> Sat  Dec  4 15:40:55 2010 [TM][D]: Message received: LOG - 12 tm_mkimage.sh:  Executed "chmod a+rw /srv/cloud/one/var/images/12/images/disk.3".
>
> Sat Dec  4 15:40:55 2010 [TM][D]: Message received: TRANSFER SUCCESS 12 -
>
> Sat  Dec  4 15:40:55 2010 [VMM][D]: Message received: LOG - 12 Command  execution fail: /srv/cloud/one/lib/remotes/vmm/xen/deploy node1  /srv/cloud/one/var/12/deployment.0
>
> Sat Dec  4 15:40:55 2010 [VMM][D]: Message received: LOG - 12 STDERR follows.
>
> Sat Dec  4 15:40:55 2010 [VMM][D]: Message received: LOG - 12 sudo: /usr/sbin/xm: command not found
>
> Sat Dec  4 15:40:55 2010 [VMM][D]: Message received: LOG - 12 ExitCode: 1
>
>
>
>
>
> freenetMobile - Handytarif des Jahres!
> Für 8 Cent/Min. telefonieren & kostenlos mobil surfen!
> Sichern Sie sich jetzt das Startpaket mit 10 ÿÿ Startgutgaben unter http://freenetmobile.de!
>

-- 
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm at fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.



More information about the Users mailing list