[one-users] Attach/Detach disk problem

Ricardo Duarte rjtd21 at hotmail.com
Thu Jan 2 03:57:31 PST 2014


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


More information about the Users mailing list