Cinder API supports os-force_detach, which once invoked can call the
driver finalize_connection passing a 'None' connector. When receiving
this, the driver should handle this call by terminating every
connection between the specified volume and any host it is mapped to.
This patch fixes this behavior for NetApp ONTAP iSCSI and FC drivers.
Closes-bug: #1783582
(cherry picked from commit I7a6d3655cac173f2720a7f4ef87ce37ac4f022d7)
Reviewed: https:/ /review. openstack. org/592634 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=98ee144c3af 5d824c2a828a8b7 27b9dd95efa659
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 98ee144c3af5d82 4c2a828a8b727b9 dd95efa659
Author: Erlon R. Cruz <email address hidden>
Date: Mon Jul 23 16:34:47 2018 -0300
NetApp ONTAP: Fix driver force detach operations
Cinder API supports os-force_detach, which once invoked can call the
driver finalize_connection passing a 'None' connector. When receiving
this, the driver should handle this call by terminating every
connection between the specified volume and any host it is mapped to.
This patch fixes this behavior for NetApp ONTAP iSCSI and FC drivers.
Closes-bug: #1783582 f2720a7f4ef87ce 37ac4f022d7)
(cherry picked from commit I7a6d3655cac173
Change-Id: I2a55961b62297f 0fa4e678929f69c afc5aa17bd9