[one-users] path error when PXE-booting VMs

Michael W. Lucas mwlucas at blackhelicopters.org
Wed Nov 11 12:21:38 PST 2009


Hi,

My ON 1.4beta2/KVM environment is working fine with disk images.  ON
cannot start a network-booted machine, however.  The problem appears
to be with the path used for the deployment file.  If I use this template:

NAME   = onvm1
CPU    = 0.5
MEMORY = 512
OS      = [ BOOT   = network ]
NIC     = [ BRIDGE = "br0",
           MAC = "00:16:8B:AB:C7:14" ]
GRAPHICS = [type="vnc",listen="127.0.0.1",port="-1"]

the error log shows:

Wed Nov 11 15:14:34 2009 [VMM][D]: Message received: LOG - 2 Command execution fail: 'cat > /one_dir/2/images/deployment.0 && virsh --connect qemu:///system create /one_dir/2/images/deployment.0'

/one_dir/2/images/deployment.0 doesn't exist.  But
/one_dir/2/deployment.0 does exist, along with vm.log and the transfer
files.  There's no "images" subdirectory.

On a simple VM with a hard drive, such as this, we do have an images
subdirectory.  Oddly, I have separate but identical deployment.0 files
in multiple locations.

clusterhead1/one_dir/1;ls -lai
total 10K
156066 drwxrwxrwx 3 oneadmin oneadmin    6 2009-11-11 15:06 .
155649 drwxr-xr-x 6 oneadmin oneadmin   13 2009-11-11 15:17 ..
156092 -rw-r--r-- 1 oneadmin oneadmin  368 2009-11-11 15:06 deployment.0
156088 drwxrwxrwx 2 oneadmin oneadmin    4 2009-11-11 15:06 images
156087 -rw-r--r-- 1 oneadmin oneadmin   83 2009-11-11 15:06 transfer.0.prolog
156067 -rw-r--r-- 1 oneadmin oneadmin 2173 2009-11-11 15:17 vm.log

clusterhead1/one_dir/1;ls -lai images/
total 5K
156088 drwxrwxrwx 2 oneadmin oneadmin   4 2009-11-11 15:06 .
156066 drwxrwxrwx 3 oneadmin oneadmin   6 2009-11-11 15:06 ..
156093 -rw-r--r-- 1 oneadmin oneadmin 368 2009-11-11 15:06 deployment.0
156089 lrwxrwxrwx 1 oneadmin oneadmin  28 2009-11-11 15:06 disk.0 -> /one_dir/one_images/dns1.raw
clusterhead1/one_dir/1;

Any suggestions, folks?

Thanks,
==ml

-- 
Michael W. Lucas 	mwlucas at BlackHelicopters.org
http://www.MichaelWLucas.com/
Latest book:  Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.com/



More information about the Users mailing list