[one-users] failing to create a vm

Ross Nordeen rjnordee at mtu.edu
Mon Jul 12 13:31:00 PDT 2010


I am having trouble deploying a simple vm across my nodes, here is my oned.log and vm.log file after I create a vm:
I think the problem is with this line:

Command execution fail: 'mkdir -p /srv/cloud/one/var//8/images && cat > /srv/cloud/one/var//8/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//8/images

I currently have nfs sharing out: 
/srv/cloud/one  192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check)

any ideas?

oned.log:
Deploying VM 8
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: 65-103-73-224:/srv/cloud/one/one-templates/ttylinux.img cn2:/srv/cloud/one/var//8/images/disk.0
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: DST: /srv/cloud/one/var//8/images/disk.0
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Creating directory /srv/cloud/one/var//8/images
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//8/images".
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//8/images".
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Cloning /srv/cloud/one/one-templates/ttylinux.img
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Executed "cp /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//8/images/disk.0".
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: LOG - 8 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//8/images/disk.0".
Mon Jul 12 14:24:48 2010 [TM][D]: Message received: TRANSFER SUCCESS 8 -
Mon Jul 12 14:24:51 2010 [VMM][I]: --Mark--
Mon Jul 12 14:24:52 2010 [InM][I]: Monitoring host cn2 (0)
Mon Jul 12 14:24:54 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jul 12 14:24:56 2010 [InM][D]: Host 0 successfully monitored.
Mon Jul 12 14:25:01 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: LOG - 8 Command execution fail: 'mkdir -p /srv/cloud/one/var//8/images && cat > /srv/cloud/one/var//8/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//8/images/deployment.0'
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: LOG - 8 STDERR follows.
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: LOG - 8 error: Failed to create domain from /srv/cloud/one/var//8/images/deployment.0
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: LOG - 8 error: monitor socket did not show up.: No such file or directory
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: LOG - 8 ExitCode: 1
Mon Jul 12 14:25:18 2010 [VMM][D]: Message received: DEPLOY FAILURE 8 -
Mon Jul 12 14:25:20 2010 [TM][D]: Message received: LOG - 8 tm_delete.sh: Deleting /srv/cloud/one/var//8/images
Mon Jul 12 14:25:20 2010 [TM][D]: Message received: LOG - 8 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//8/images".
Mon Jul 12 14:25:20 2010 [TM][D]: Message received: TRANSFER SUCCESS 8 

Also here is my vm.log file:
Mon Jul 12 14:24:47 2010 [DiM][I]: New VM state is ACTIVE.
Mon Jul 12 14:24:48 2010 [LCM][I]: New VM state is PROLOG.
Mon Jul 12 14:24:48 2010 [VM][I]: Virtual Machine has no context
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: 65-103-73-224:/srv/cloud/one/one-templates/ttylinux.img cn2:/srv/cloud/one/var//8/images/disk.0
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//8/images/disk.0
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//8/images
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//8/images".
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//8/images".
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/one-templates/ttylinux.img
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Executed "cp /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//8/images/disk.0".
Mon Jul 12 14:24:48 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//8/images/disk.0".
Mon Jul 12 14:24:48 2010 [LCM][I]: New VM state is BOOT
Mon Jul 12 14:24:48 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/8/deployment.0
Mon Jul 12 14:25:18 2010 [VMM][I]: Command execution fail: 'mkdir -p /srv/cloud/one/var//8/images && cat > /srv/cloud/one/var//8/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//8/images/deployment.0'
Mon Jul 12 14:25:18 2010 [VMM][I]: STDERR follows.
Mon Jul 12 14:25:18 2010 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//8/images/deployment.0
Mon Jul 12 14:25:18 2010 [VMM][I]: error: monitor socket did not show up.: No such file or directory
Mon Jul 12 14:25:18 2010 [VMM][I]: ExitCode: 1
Mon Jul 12 14:25:18 2010 [VMM][E]: Error deploying virtual machine
Mon Jul 12 14:25:20 2010 [DiM][I]: New VM state is FAILED
Mon Jul 12 14:25:20 2010 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Deleting /srv/cloud/one/var//8/images

Mon Jul 12 14:25:20 2010 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//8/images".

Mon Jul 12 14:25:20 2010 [TM][W]: Ignored: TRANSFER SUCCESS 8 -


any help would be appreciated, 
-Ross



More information about the Users mailing list