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

Bug 1530126

Summary: Request CHAP fix for Cinder 3PAR iSCSI Driver
Product: Red Hat OpenStack Reporter: Pradipta Kumar Sahoo <psahoo>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: bschmaus, eharney, pgrist, srevivo, tshefi
Target Milestone: z8Keywords: OtherQA, Triaged, ZStream
Target Release: 10.0 (Newton)Flags: tshefi: automate_bug-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-9.1.4-33.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-17 15:49:07 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:

Description Pradipta Kumar Sahoo 2018-01-02 06:48:20 UTC
Description of problem:

After the live-migration of the VM (launched with bootable from 3par volume), the chap username and password are not getting updated for the VLUN in 3PAR

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

How reproducible:
In Customer environment.

Steps to Reproduce:
1. Created a VM with bootable 3Par volume
2. Check the object values of vlun in 3par using the API

       GET https://x.x.x.x:8080/api/v1/volumes/osv-xxxxxxxxxxxx/objectKeyValues
       RESP contains HPQ-cinder-CHAP-name and HPQ-cinder-CHAP-secret key values
3. Live Migrate the VM
4. Check the object values of vlun in 3par

       GET https://x.x.x.x:8080/api/v1/volumes/osv-xxxxxxxxxxxx/objectKeyValues
       RESP does not contain HPQ-cinder-CHAP-name and HPQ-cinder-CHAP-secret keys

Because of the above issue, the following test case is getting failed.

	1. Create VM-1 booted from 3par volume on compute-1
	2. Create VM-2 booted from 3par volume on compute-2
	3. Live migrate VM-1 to compute-3
	4. Live migrate VM-2 to compute-3
	5. Stop the VMs using nova command
	6. reboot compute-3
	7. after reboot try to start the VMs
	8. VMs are not able to start due to FAILED ISCSI login issue with 3PAR


Actual results:
RESP does not contain HPQ-cinder-CHAP-name and HPQ-cinder-CHAP-secret keys

Expected results:
RESP should contain HPQ-cinder-CHAP-name and HPQ-cinder-CHAP-secret keys

Additional info:
The customer HPE provided below upstream bug details which has the same problem scenario.

https://bugs.launchpad.net/cinder/+bug/1737181

The Fix is released for the bug as mentioned below
https://review.openstack.org/#/c/527417/

The customer (HPE) is looking for the fix to be released as a patch for OSP 10 system.

Comment 14 Tzach Shefi 2018-04-25 10:24:22 UTC
Looking at code fixed, 3PAR driver specific fix. 
No HW to test this on, setting OtherQA. 
Also QE automation coverage null.

Comment 17 errata-xmlrpc 2018-05-17 15:49:07 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:1602