[one-users] vm template & nfsroot > vm state bug

Martin Sobotta martin at punix.de
Thu Mar 4 04:40:00 PST 2010


Hello.

Im currently trying to find a solution to use nfsroot within the ROOT & 
KERNEL_CMD options within a VMtemplate.
Im not sure, if this really can work, but im still trying since i didnt 
find any answers/solutions yet.

While working with that, i found a bug regarding the VM state:
I start the VM via "onevm create <myvm.template>".
---<myvm.template>---
[...]
OS      = [     KERNEL = /boot/vmlinuz-2.6.26-2-xen-686,
                INITRD = /boot/initrd.img-2.6.26-2-xen-686,
                KERNEL_CMD   = "console=tty0 root=/dev/nfs 
nfsroot=<192.168.100.200:/srv/fai/nfsroot" ]

DISK    = [     SOURCE = /srv/cloud/images/ms_empty_sparse_disk.img,
                TARGET = sda2 ]

DISK    = [     TYPE = SWAP,
                SIZE   = 128,
                TARGET = sda1 ]
[...]
---
The VM boots really quick and gets to state "running". On the 
XenHostComputer, the command "xm list" shows, this VM is in state "boot".
Once i use "onevm stop <myvm>", the "onevm list" shows the state "save", 
while its the same on the XenHostComputer. "xm list" says "save".
But about 5 seconds later, "onevm list" on the ONEserver says "running" 
again, while its still on "save" on the Host. And thus im not able to 
restart the VM, cause ONE doesnt let me change state to "running" cause 
it is already in this state (what is actually wrong).

greetings,
punix



More information about the Users mailing list