Files
nova/nova
melanie witt 8b4b99149a Use force=True for os-brick disconnect during delete
The 'force' parameter of os-brick's disconnect_volume() method allows
callers to ignore flushing errors and ensure that devices are being
removed from the host.

We should use force=True when we are going to delete an instance to
avoid leaving leftover devices connected to the compute host which
could then potentially be reused to map to volumes to an instance that
should not have access to those volumes.

We can use force=True even when disconnecting a volume that will not be
deleted on termination because os-brick will always attempt to flush
and disconnect gracefully before forcefully removing devices.

Closes-Bug: #2004555

Change-Id: I3629b84d3255a8fe9d8a7cea8c6131d7c40899e8
(cherry picked from commit db455548a1)
(cherry picked from commit efb01985db)
2023-05-10 14:59:21 +00:00
..
2023-01-30 12:46:49 +00:00
2022-05-30 17:40:00 +05:30
2022-08-10 03:57:11 +00:00
2021-02-25 16:01:43 -05:00
2021-11-08 12:37:27 +00:00
2022-03-08 16:16:11 +00:00
2022-02-22 12:40:15 +01:00