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

Randy Smith rbsmith at adams.edu
Wed Aug 27 10:08:01 PDT 2014


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>
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> 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
>



-- 
Randall Smith
Computing Services
Adams State University
http://www.adams.edu/
719-587-7741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140827/859dc7ab/attachment.htm>


More information about the Users mailing list