Comment 2 for bug 1349888

Revision history for this message
Nikola Đipanov (ndipanov) wrote : Re: Attempting to attach the same volume multiple times can cause bdm record for existing attachment to be deleted.

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.