Bug 1758228

Summary: [OSP14] Dell EMC SC: Terminates volume connection incorrectly for multi-attach volumes
Product: Red Hat OpenStack Reporter: Alan Bishop <abishop>
Component: openstack-cinderAssignee: Alan Bishop <abishop>
Status: CLOSED EOL QA Contact: Tzach Shefi <tshefi>
Severity: medium Docs Contact: Chuck Copello <ccopello>
Priority: medium    
Version: 14.0 (Rocky)CC: abishop, arkady_kanevsky, cdevine, chris.brown, dcain, eharney, gcharot, kholtz, kurt_hey, mburns, morazi, nobody+akarlsso, pgrist, rajini.karthik, shdunne, spower, sroza, tberry, tshefi
Target Milestone: z5Keywords: OtherQA, Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-13.0.5-8.el7ost Doc Type: Bug Fix
Doc Text:
Cause: Cinder's Storage Center driver would terminate the connection whenever a host detached a volume, regardless of whether other hosts were still attached. Consequence: Cinder's multi-attach feature did not function correctly. Fix: The Storage Center driver terminates the connection only when there are no more hosts attached to a volume. Result: The multi-attach feature functons correctly.
Story Points: ---
Clone Of: 1705757 Environment:
Last Closed: 2020-01-24 12:25:05 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:    
Bug Blocks: 1559565, 1581398, 1588541, 1705757    

Description Alan Bishop 2019-10-03 15:43:35 UTC
+++ This bug was initially created as a clone of Bug #1705757 +++

Description of problem:
If a volume is multi-attached to multiple instances on the same host and when the volume is removed from one instance, Dell SC removes the volume connection from the host which causes rest instances lose connection to the volume.

steps to reproduce:
1. create a volume type with multiattach enabled.
2. create a volume of multi-attach type
3. create 2 server instances and make sure they're on the same host.
(can use '--availability-zone ZONE:HOST:NODE')
4. attach volume to instances
5. remove volume from 1 instance.
6. check on Dell SC DSM that the volume has no 'Mappings' for the host
7. remove volume from rest instance.

Fix:
https://review.opendev.org/656835

Please be backported to queens.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results: