Comment 9 for bug 1560965

Revision history for this message
Tomasz GÅ‚uch (tomekg) wrote :

On Mitaka with KVM hypervisor this bug also is visible.
When booting instance from volume created from image with "hw_scsi_model=virtio-scsi" metadata, device names should be in /dev/sd* format. Horizon enforces /dev/vda for first disk, so it is named /dev/vda in cinder & nova metadata, but /dev/sda in libvirt and guest system.

Further bug caused by this issue is an impossibility to attach another volume, as nova volume-attach tries to use seemingly free name /dev/sda for next device. This causes conflict in building XML in libvirt:
2016-10-20 17:38:41.780 13818 ERROR oslo_messaging.rpc.dispatcher libvirtError: internal error: unable to execute QEMU command 'device_add': Duplicate ID 'scsi0-0-0-0' for device