The OpenStack cloud provider retrieves mounted Cinder volume paths by looking in /dev/disk/by-id, expecting the disk serial IDs (e.g. SCSI ID) to include the volume ID. The issue is that not all hypervisors are able to expose this. For example, Hyper-V will just preserve the original Cinder volume lun SCSI ID (without setting the volume id). For this reason, disk path lookups will fail. In order to be able to leverage Hyper-V based OpenStack providers, as a fallback, we're querying the metadata service, searching for disk device metadata. Note that starting with Nova Queens, the Hyper-V driver always provides disk address information through the instance metadata.
16 KiB
16 KiB