Hi there,

I'm trying to get Attach and Detach operations to work for disks.
I can  make it work for the first attach and detach, but if I try to reattach a 
new disk I get the following errors:

  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG E 260 attach_disk: 
Command "virsh --connect qemu:///system attach-device one-260 
/var/lib/one/datastores/0/260/disk.2.attach" failed: error: Failed to attach 
device from /var/lib/one/datastores/0/260/disk.2.attach
  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG I 260 error: 
internal error unable to execute QEMU command '__com.redhat_drive_add': 
Duplicate ID 'drive-virtio-disk1' for drive
  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG E 260 Could not 
attach /var/lib/one/datastores/0/260/disk.2 (vdb) to one-260
  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG I 260 ExitCode: 1

Another problem is that I'm not able to attach or detach disks from powered off 
machines.

Any clue on how to fix the problem, and how to allow users to attach and detach 
disks when machines are powered off?

Thanks,
Ricardo
                                          
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to