[one-users] onevm create failed

sufian.abu-rab at freenet.de sufian.abu-rab at freenet.de
Sat Dec 4 15:03:50 PST 2010


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101205/0d632889/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openNebula_config_2(3).pdf
Type: application/pdf
Size: 102568 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101205/0d632889/attachment.pdf>


More information about the Users mailing list