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

Randy Smith rbsmith at adams.edu
Tue Aug 26 08:20:05 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140826/80ad14a9/attachment.htm>


More information about the Users mailing list