[one-users] Booting VM from CD Image

Tino Vazquez cvazquez at c12g.com
Fri Oct 18 09:00:38 PDT 2013


Hi,

Could you please send us through the contents of the deployment file?
It should be in the front-end, under

/var/lib/one/vms/<vid>/deployment.0

Regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Fri, Oct 18, 2013 at 4:55 PM, Christoph Pleger
<Christoph.Pleger at cs.tu-dortmund.de> wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list