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

Javier Fontan jfontan at opennebula.org
Wed Aug 27 09:27:34 PDT 2014


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> 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
>
> _______________________________________________
> Users mailing list
> 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 | @OpenNebula | github.com/jfontan


More information about the Users mailing list