NetApp: Ontap FC/iSCSI drivers does not support force_detach

Bug #1783582 reported by Erlon R. Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Erlon R. Cruz

Bug Description

The 'tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume' is failling because NetApp iSCSI/FC drivers does not handles the call to terminate_connection.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/588082

Changed in cinder:
assignee: nobody → Erlon R. Cruz (sombrafam)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/588082
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=8776c81f64bfee814573f217b140408f57fb302d
Submitter: Zuul
Branch: master

commit 8776c81f64bfee814573f217b140408f57fb302d
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.

    Change-Id: I7a6d3655cac173f2720a7f4ef87ce37ac4f022d7
    Closes-bug: #1783582

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b3

This issue was fixed in the openstack/cinder 13.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/592634

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/592769

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/queens)

Reviewed: https://review.openstack.org/592634
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=98ee144c3af5d824c2a828a8b727b9dd95efa659
Submitter: Zuul
Branch: stable/queens

commit 98ee144c3af5d824c2a828a8b727b9dd95efa659
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
    (cherry picked from commit I7a6d3655cac173f2720a7f4ef87ce37ac4f022d7)

    Change-Id: I2a55961b62297f0fa4e678929f69cafc5aa17bd9

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/pike)

Reviewed: https://review.openstack.org/592769
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=93399a32bf994a3129a798be72f27a9731cb2750
Submitter: Zuul
Branch: stable/pike

commit 93399a32bf994a3129a798be72f27a9731cb2750
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
    (cherry picked from commit I2a55961b62297f0fa4e678929f69cafc5aa17bd9)

    Change-Id: Id3ad0fb4ea46d09033435641f39af04cbffea77f

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.4

This issue was fixed in the openstack/cinder 12.0.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.2.0

This issue was fixed in the openstack/cinder 11.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.