commit 01056185cacd9bee8ee077ba3c8782e64decbe5a
Author: Patrick East <email address hidden>
Date: Mon Jul 13 15:49:40 2015 -0700
Prevent missing Purity hosts from raising errors
Occasionally a Purity host can be deleted out from underneath Cinder.
When this happens if cinder is attempting to disconnect a volume from
that host we should treat it as a ‘success’ since if the host is gone,
it is disconnected already (as far as Purity is concerned).
To prevent one cause of this, the disconnect method will now be locked
with the connect ones so that can’t delete a host we intend to re-use.
Change-Id: Iba82c93f9e101709cf5532225068474688187b29
Closes-bug: #1472710
(cherry picked from commit c18e1c7cad6f0209a322a0db1ec653bc7940a0d8)
Reviewed: https:/ /review. openstack. org/228219 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=01056185cac d9bee8ee077ba3c 8782e64decbe5a
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 01056185cacd9be e8ee077ba3c8782 e64decbe5a
Author: Patrick East <email address hidden>
Date: Mon Jul 13 15:49:40 2015 -0700
Prevent missing Purity hosts from raising errors
Occasionally a Purity host can be deleted out from underneath Cinder.
When this happens if cinder is attempting to disconnect a volume from
that host we should treat it as a ‘success’ since if the host is gone,
it is disconnected already (as far as Purity is concerned).
To prevent one cause of this, the disconnect method will now be locked
with the connect ones so that can’t delete a host we intend to re-use.
Change-Id: Iba82c93f9e1017 09cf55322250684 74688187b29 9a322a0db1ec653 bc7940a0d8)
Closes-bug: #1472710
(cherry picked from commit c18e1c7cad6f020