Comment 44 for bug 2004555

Revision history for this message
Gorka Eguileor (gorka) wrote : Re: [ussuri] Wrong volume attachment - volumes overlapping when connected through iscsi on host

This is the patch I've prepared for Cinder to prevent users from exploiting the data leak issue or even to unintentionally leave leftover devices by deleting the cinder attachment record.

With the nova patch and this one we cover most of the scenarios, but not all, since I've been told that there are scenarios where an instance is deleted without contact with the actual

I have to cleanup the os-brick code, write the unit tests, and see how the "recheck_wwid" multipath config option interacts with it.

I also have to try and see if the issue also happens in FC, in which case I would need to modify the os-brick patch and also write a new one to add support for the "force" parameter in the "disconnect_volume" method.

Since there are some calls to Nova I would appreciate reviews from the Nova team to confirm that I didn't miss anything.