[Openstack] Virtio-scsi driver is giving a Duplicate ID error when attaching cinder block devices

Jean-Philippe Methot jp.methot at planethoster.info
Thu Jun 15 17:00:24 UTC 2017


Hi,

Lately I've been testing out the virtio-scsi libvirt driver for block 
devices. While it seems to work well and does support unmap/discard, I'm 
having problems when it comes to attaching additional cinder block 
devices. Essentially, I'm able to provision VMs from block devices, with 
the block device created at the same time as the VM. However, if I want 
to add more than one block device, I run into the following error in 
nova-compute:

libvirtError: internal error: unable to execute QEMU command 
'__com.redhat_drive_add': Duplicate ID 'drive-scsi0-0-0-0' for drive

I'm using the latest version of RDO Newton. The metadata associated to 
the images to enable virtio-scsi is as follow:

hw_disk_bus= scsi

hw_scsi_model= virtio-scsi


-- 
Jean-Philippe Méthot
Openstack system administrator
PlanetHoster inc.
www.planethoster.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170615/a589a99b/attachment.html>


More information about the Openstack mailing list