Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1622538

Summary: [OSP-12] NetApp: Ontap FC/iSCSI drivers does not support force_detach
Product: Red Hat OpenStack Reporter: Erlon <erlon.cruz>
Component: openstack-cinderAssignee: Elise Gafford <egafford>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: urgent Docs Contact: Kim Nylander <knylande>
Priority: urgent    
Version: 12.0 (Pike)CC: abishop, amcleod, atiwary, egafford, mabrams, scohen, srevivo, tshefi
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-11.1.0-19.el7ost Doc Type: Bug Fix
Doc Text:
With this update, the force_detach action of NetApp ONTAP FC/iSCSI drivers succeeds. This action terminates all connections between the specified volume and any host that is mapped to the volume.
Story Points: ---
Clone Of:
: 1638127 (view as bug list) Environment:
Last Closed: 2018-12-05 18:49:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1622535, 1638127    
Bug Blocks:    

Description Erlon 2018-08-27 12:22:08 UTC
We need the following bug to be re-packages in the distro packages so we can pass RHOSP13 Certifications.
https://review.openstack.org/#/c/592769/

Bug is already merged in upstream stable branches.

Comment 1 Erlon 2018-09-10 13:50:29 UTC
Hi Elise,

When will that be on GA? I have updated the package and still not in this version you mentioned:

yum install python-cinder
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package 1:python-cinder-11.1.0-14.el7ost.noarch already installed and latest version
Nothing to do

Comment 2 Alan Bishop 2018-09-10 15:20:51 UTC
Hi Erlon,

There are a few more steps, including QA, before the fix will be available in a zStream release. The version you're looking for is openstack-cinder-11.1.0-19.el7ost (see "Fixed In Version" field at the top of the page).

Comment 3 Erlon 2018-09-11 15:46:46 UTC
Thanks Alan.

Comment 4 atiwary 2018-10-10 07:37:15 UTC
Hi Alan,

The same patch was also merged to queens stable branch on the same day,Will it available too?

Or do we need to create a new backport request for OSP 13?

It is also included in openstack/cinder 12.0.4 release today.So when the next osp build will happen,will it include this patch automatically??


It needed by Netapp on priority basis?

Comment 5 Alan Bishop 2018-10-22 13:46:10 UTC
Sorry, I missed the needinfo. Yes, the patch will be included in the next OSP-13z3 release. Bug #1622535 lists a fixed-in-version of 12.0.3-3, but the entire z3 release will be based on v12.0.4 which also contains the fix.

Comment 14 Tzach Shefi 2018-11-21 08:46:00 UTC
Verified on:
openstack-cinder-11.1.0-22.el7ost.noarch

Ran tempest test with netapp iscsi volume

passed

{0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [38.232155s] ... ok

======
Totals
======
Ran: 1 tests in 56.0000 sec.
 - Passed: 1
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 38.2322 sec.
-----------------


time: 2018-11-21 06:07:00.148165Z
tags: worker-0
test: tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume[compute,id-d38285d9-929d-478f-96a5-00e66a115b81]
time: 2018-11-21 06:07:38.380320Z
successful: tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume[compute,id-d38285d9-929d-478f-96a5-00e66a115b81] [ multipart
Content-Type: text/plain;charset="utf8"
pythonlogging:''
ABE8^M
2018-11-21 01:07:00,821 13297 INFO     [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_force_detach_volume): 201 POST http://10.0.0.107:5000/v3/auth/tokens
2018-11-21 01:07:00,821 13297 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
        Body: <omitted>
    Response - Headers: {'status': '201', u'content-length': '8947', 'content-location': 'http://10.0.0.107:5000/v3/auth/tokens', u'x-subject-token': '<omitted>', u'vary': 'X-Auth-Token', u'server': 'Apache', u'connection': 'close', u'date': 'Wed, 21 Nov 2018 06:07:00 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-316b5cd6-b834-443f-a8cd-88b6241e3776'}

Comment 17 errata-xmlrpc 2018-12-05 18:49:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3785