Bug 1714636

Summary: [RHOS14 ][cinder] "Fix "connector=None" issue in terminate_connection for Kaminario volume driver
Product: Red Hat OpenStack Reporter: Pablo Caruana <pcaruana>
Component: openstack-cinderAssignee: Pablo Caruana <pcaruana>
Status: CLOSED ERRATA QA Contact: Tzach Shefi <tshefi>
Severity: medium Docs Contact: Tana <tberry>
Priority: medium    
Version: 14.0 (Rocky)CC: amir.lidor, pcaruana, rheslop, tshefi
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-13.0.5-3.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the Kaminario Cinder volume drivers would fail a tempest test (test_volumes_actions.VolumesActionsTest.test_force_detach_volume) because they would not handle "connector=None" in the terminate_connection. This patch handles "connector=None" in the terminate_connection for FiberChannel and iSCSI connections.
Story Points: ---
Clone Of: 1714433
: 1716974 (view as bug list) Environment:
Last Closed: 2019-07-02 19:43:59 UTC Type: ---
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: 1716974    
Bug Blocks: 1714433    

Description Pablo Caruana 2019-05-28 13:53:34 UTC
+++ This bug was initially created as a clone of Bug #1714433 +++

Description of problem:
Currently, Kaminario Cinder FC and iSCSI volume drivers are not
handling "connector=None" in the terminate_connection. This causes
the failure of the following tempest test:
test_volumes_actions.VolumesActionsTest.test_force_detach_volume
Which is failing the RHOS certification.

Version-Release number of selected component (if applicable):


How reproducible:
every time you run the tempest test:
test_volumes_actions.VolumesActionsTest.test_force_detach_volume


Steps to Reproduce:
1. run the tempest test: test_volumes_actions.VolumesActionsTest.test_force_detach_volume with Kaminario.

Actual results:
Test Fails

Expected results:
Test should pass

Additional info:
Fix have been merged to Rocky stable (and of course other branches).
Opendev link: https://review.opendev.org//660540/
OpenStack bug: https://bugs.launchpad.net/cinder/+bug/1829398

Comment 9 errata-xmlrpc 2019-07-02 19:43:59 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-2019:1678