Comment 47 for bug 1560965

Revision history for this message
Kai Wembacher (ktwe) wrote :

I'm facing the same issue in Rocky when launching images with hw_disk_bus=scsi and hw_scsi_model=virtio-scsi using a flavor that provides a swap disk. In this case the device_name should be sda, but is set to vda by Horizon instead. As a result nova attaches the root disk as vda and the swap disk as sda which destroys the boot order.

I did some work to port the whole block device mapping part to v2 removing the vda default. This currently requires can_set_mount_point=False (which I guess is the default) because otherwise the vda_device_name will be mapped to a text field in the instance creation workflow which still has to be handled in some way. Also the fix lacks of an update to the spec file.

You can find the current state of my change here:
https://github.com/ktwe/horizon/commit/ef2428e504cec67a177d9c4815e733b9bdba7db2

I will try to complete my work and submit it to the project, but if someone wants to build on my work in the meantime, please feel free to so.