The issue from the comment before is caused by the cinder NfsDriver (and potentially any other remotefs driver as well). cinder/volume/drivers/nfs.py:initialize_connection calls _qemu_img_info without specifying a format. The then detected format is shared in the connection_info of the attachment which nova then uses as BDM information and to mount the disk.
The same issue might also happen in _copy_volume_from_snapshot for the NFS driver.
There are at least 25 calls to _qemu_img_info in cinder volume that do not provide the expected types.
Maybe we can use the same fix as @danms built for nova
The issue from the comment before is caused by the cinder NfsDriver (and potentially any other remotefs driver as well). cinder/ volume/ drivers/ nfs.py: initialize_ connection calls _qemu_img_info without specifying a format. The then detected format is shared in the connection_info of the attachment which nova then uses as BDM information and to mount the disk.
The same issue might also happen in _copy_volume_ from_snapshot for the NFS driver.
There are at least 25 calls to _qemu_img_info in cinder volume that do not provide the expected types.
Maybe we can use the same fix as @danms built for nova