[one-users] vm creation failed
Carlos Martín Sánchez
cmartins at fdi.ucm.es
Mon Oct 4 03:44:45 PDT 2010
Hi Juan Luis,
You are using the "type" attribute for your second DISK wrongly, take a look
Let's try with this instead:
DISK = [
TYPE = swap,
SIZE = 1024,
READONLY = "no"
TARGET = "sdb"]
Carlos Martín, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
OpenNebula Open Source Toolkit for Cloud Computing:
2010/10/1 Juan Luis Prieto Martínez <sirjuanlu at gmail.com>
> Hi all,
> I'm having a problem when crating my vm using one. My setup is this:
> - I'm using ONE 2.0 as front end and a host with xen 3.0.3
> - I have a dummy connection set between the frontend and the host.
> - the xen image that I wanna run is in the host.
> This is the script that I'm using
> PU = 0.5
> MEMORY = 256
> OS = [
> kernel = "/boot/vmlinuz-2.6.18-194.el5xen",
> initrd = "/boot/no-scsi-initrd-2.6.18-194.el5xen.img",
> root = "sda1" ]
> DISK = [
> source = "/srv/cloud/one/var/hello-cloud.img",
> target = "sda1",
> readonly = "no" ]
> DISK = [
> type = "/srv/cloud/one/var/hello-cloud-swap.img",
> size = 1024,
> target = "sdb"]
> This is the log after run *onevm create /tmp/one/hello-cloud.template*
> oneadmin at onefront:/srv/cloud/one/var/5$ cat vm.log
> Fri Oct 1 12:46:08 2010 [DiM][I]: New VM state is ACTIVE.
> Fri Oct 1 12:46:08 2010 [LCM][I]: New VM state is PROLOG.
> Fri Oct 1 12:46:08 2010 [TM][E]: prolog, undefined source disk image in VM
> Fri Oct 1 12:46:08 2010 [DiM][I]: New VM state is FAILED
> Fri Oct 1 12:46:08 2010 [TM][W]: Ignored: TRANSFER SUCCESS 5 -
> In the host the vm is in this directory
> [root at centos-xen var]# ls
> hello-cloud.img hello-cloud-swap.img hello-world-xen.conf
> [root at centos-xen var]# pwd
> Can you please tell me what am I doing wrong?
> Thanks in advance.
> Users mailing list
> Users at lists.opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users