Support for Virtio-scsi Passthrough

asked 2019-05-15 07:27:42 -0500

wuwy gravatar image


I see "Virtio-scsi Passthrough" has support by block-device-mapping-v2 extension according to the page: ・

But when I try to do it, I met some problems.

1.When "nova boot" with the specified parameter "--block-device id=xxx,source=volume,dest=volume,bus=scsi,type=lun", An error had occurred: boot_devs_dup = (BOOT_DEV_FOR_TYPE[dev['type']] for dev in KeyError: u'lun'. It seems can not support "type=lun".

2.First I added a "hw_scsi_model:virtio-scsi" metadata-property to volume, then attached this "Virtio-scsi Passthrough volume" to a VM. But nothing to be changed from the other volumes. And still, I can see "disk type='block' device='disk'" in the xml file.

Could someone please give me an idea of why is this happenning?

thank you very much

edit retag flag offensive close merge delete


The blueprintlinks to another wiki page, which enables the feature via an image property.

DISCLAIMER: I haven't tried this.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-15 19:33:27 -0500 )edit

Thank you for your suggestion. I have already tried that, but it didn't work.

wuwy gravatar imagewuwy ( 2019-05-16 03:20:11 -0500 )edit