[one-users] unable to attach cdrom to VM in opennebula 4.8

Anandharaj Subramaniam anandharaj.maniam at mimos.my
Thu Sep 4 03:11:30 PDT 2014


I also interested on this. The current practice that we are doing is shutdown/delete the VM, go to template and add the CDROM device and instantiate VM. By doing this we will have new VM ID and lose the accountability of old VM ID info


--
Regards,
Anandharaj

From: Users [mailto:users-bounces at lists.opennebula.org] On Behalf Of Randy Smith
Sent: Thursday, August 28, 2014 1:08 AM
To: Javier Fontan
Cc: users at lists.opennebula.org
Subject: Re: [one-users] unable to attach cdrom to VM in opennebula 4.8

Fair enough. Then how does one provide an option to change a CD on a server? For example, I have a Windows server rolled and I need to install software on it that is only available on DVD. How can I change disks on those VMs?

On Wed, Aug 27, 2014 at 10:27 AM, Javier Fontan <jfontan at opennebula.org<mailto:jfontan at opennebula.org>> wrote:
Attaching IDE devices (cdrom is an IDE device) is not supported.

On Tue, Aug 26, 2014 at 5:20 PM, Randy Smith <rbsmith at adams.edu<mailto:rbsmith at adams.edu>> wrote:
> Greetings,
>
> I am attempting to attach a CDROM image to a running VM via Sunstone but the
> command fails with the following error:
>
> Tue Aug 26 08:52:21 2014 [Z0][VMM][D]: Message received: LOG E 24
> attach_disk: Command "virsh --connect qemu:///system attach-device one-24
> /var/lib/one//datastores/0/24/disk.3.attach" failed: error: Failed to attach
> device from /var/lib/one//datastores/0/24/disk.3.attach
>
> Tue Aug 26 08:52:21 2014 [Z0][VMM][D]: Message received: LOG I 24 error:
> Failed to open file '/var/lib/one//datastores/0/24/disk.3': No such file or
> directory
>
> The disk.3.attach file looks like this:
>
> <disk type='file' device='disk'>
>   <driver name='qemu' type='raw' />
>   <source file='/var/lib/one//datastores/0/24/disk.3' >
>
>   </source>
>
>   <target dev='hdd'/>
>   <readonly/>
> </disk>
>
> The file listed in the source (disk.3), of course, does not exist. I've
> attempted to attach images from both a ceph store and the default image
> store with the same results.
>
> What can I do to fix this?
>
> Thanks
>
> --
> Randall Smith
> Computing Services
> Adams State University
> http://www.adams.edu/
> 719-587-7741<tel:719-587-7741>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



--
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org<http://www.OpenNebula.org> | @OpenNebula | github.com/jfontan<http://github.com/jfontan>



--
Randall Smith
Computing Services
Adams State University
http://www.adams.edu/
719-587-7741

________________________________
DISCLAIMER:


This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140904/47c0c11f/attachment.htm>


More information about the Users mailing list