nova/nova/volume
Francois Palin 10bd369589 Add retry to cinder API calls related to volume detach
When shutting down an instance for which volume needs to be
deleted, if cinder RPC timeout expires before cinder volume
driver terminates connection, then an unknown cinder exception
is received and the volume is not removed.

This fix adds a retry mechanism directly in cinder API calls
attachment_delete, terminate_connection, and detach.

Change-Id: I3c9ae47d0ceb64fa3082a01cb7df27faa4f5a00d
Closes-Bug: #1834659
(cherry picked from commit 01c334cbdd)
(cherry picked from commit 118ee68257)
(cherry picked from commit 1d66884af7)
2020-05-04 09:37:22 -04:00
..
__init__.py Remove deprecated config option volume_api_class 2016-07-21 23:08:08 +08:00
cinder.py Add retry to cinder API calls related to volume detach 2020-05-04 09:37:22 -04:00