Interesting. So for clarity - the bug is that BlockDeviceMapping.get_by_volume_id() (actually db_api.block_device_mapping_get_by_volume_id() under the hood) will return the first volume it gets, even if there is more.
Interesting. So for clarity - the bug is that BlockDeviceMapp ing.get_ by_volume_ id() (actually db_api. block_device_ mapping_ get_by_ volume_ id() under the hood) will return the first volume it gets, even if there is more.