Re: [one-users] Booting VM from CD Image
Hello, 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 I have changed the device prefix from sr to hd and mount target from sr0 to hda, now I can boot from virtual CD. Regards Christoph ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Booting VM from CD Image
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 NameUbuntu 9.10 CD Datastore default Owner linux Group users TypeCDROM 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 #VMS1 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@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Booting VM from CD Image
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 ab...@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.ple...@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 NameUbuntu 9.10 CD Datastore default Owner linux Group users TypeCDROM 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 #VMS1 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@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Booting VM from CD Image
Christoph Pleger christoph.ple...@cs.tu-dortmund.de writes: Hello, Hello, [...] 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 I got issue with ISO too, when I set my datastore with TM_MAD=qcow2, the VM could not boot, even when they are in raw mode. I use a dedicated TM_MAD=shared datastore for ISO and everything is fine. IIRC, the TM_MAD=qcow2 make use qemu-img backingstore option which is incompatible with raw images, right? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgptGqeZVlRgY.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org