We can't just increase the device limit for virtio-scsi. We also have do handle the device name that will be associated.
It seems that, in Nova we generate it with 'find_disk_dev_for_disk_bus'
max_dev = get_dev_count_for_disk_bus(bus)
devs = range(max_dev)
for idx in devs:
disk_dev = dev_prefix + chr(ord('a') + idx)
if not has_disk_dev(mapping, disk_dev):
if disk_dev not in assigned_devices:
return disk_dev
So from 0 to 25 we return a-z but I'm not sure what we should do then...
Daniel, you probably already have handled that with libvirt, what would be the solution?
Comment 3PURANDHAR SAIRAM MANNIDI
2018-05-29 09:32:43 UTC
Recently, there is a patch proposed upstream to increase the number of volumes allowed to attach to a single instance > 26:
https://review.openstack.org/567472
but there's some debate about the new maximum we should select.