<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>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:</p>
<p> libvirtError: internal error: unable to execute QEMU command
'__com.redhat_drive_add': Duplicate ID 'drive-scsi0-0-0-0' for
drive</p>
<p>I'm using the latest version of RDO Newton. The metadata
associated to the images to enable virtio-scsi is as follow:</p>
<p><span class="input-group-addon ng-binding" title="hw_disk_bus">hw_disk_bus=
scsi</span></p>
<p><span class="input-group-addon ng-binding" title="hw_scsi_model">hw_scsi_model=
virtio-scsi<br>
</span></p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Jean-Philippe Méthot
Openstack system administrator
PlanetHoster inc.
<a class="moz-txt-link-abbreviated" href="http://www.planethoster.net">www.planethoster.net</a>
</pre>
</body>
</html>