[one-users] Booting VM from CD Image

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Fri Oct 18 07:55:25 PDT 2013


Hello,

I am using OpenNebula 3.8 with KVM virtualization. In sunstone, I
registered an image for a cdrom. sunstone shows the following image
information:

 ID	167
Name	Ubuntu 9.10 CD
Datastore	default
Owner	linux
Group	users
Type	CDROM
Register time	16:27:24 10/18/2013
Persistent	no
Source	/var/lib/one/datastores/1/df3a93a824a3df4cfa828471dc034246
Path	/var/tmp/thin-body20131018-7588-qfm4nh-0
Filesystem type	--
Size (Mb)	691
State	USED
Running #VMS	1
Permissions
     Owner	um-
     Group	---
     Other

and the following image template:

TARGET	sr0
DRIVER	raw
DEV_PREFIX	sr
DESCRIPTION	Ubuntu 9.10 CD


After registering the cdrom image, I created a VM Template and included in
it a section for the cdrom. That section looks like this:

DISK=[
  DRIVER="raw",
  IMAGE="Ubuntu 9.10 CD",
  IMAGE_UNAME="linux",
  TARGET="sr0" ]

This prevents the VM from starting successfully (without that section, the
VM goes to state RUNNING). The error log is:

 Fri Oct 18 16:31:30 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/1319/deployment.0
cloudhost05 1319 cloudhost05
Fri Oct 18 16:31:30 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/1319/deployment.0
Fri Oct 18 16:31:30 2013 [VMM][I]: error: An error occurred, but the cause
is unknown

As you can see, the error message is not really helpful.

What can I do? Do I have to change entries in my image template or my VM
template?

Regards
  Christoph



More information about the Users mailing list