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

Javier Fontan jfontan at gmail.com
Mon Mar 22 11:03:24 PDT 2010


Hello,

Can you check $ONE_LOCATION/var/<vmid>/vm.log? Probably there was an
error saving your vm so it continued running. Most of the time this is
caused because xen could not save checkpoint file inside that dir.

Bye


On Thu, Mar 4, 2010 at 1:40 PM, Martin Sobotta <martin at punix.de> wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list