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

Bug 2237700

Summary: [16.2] Netapp Cinder: lun mapping behavior is inconsistent when initiator connected to a custom igroup
Product: Red Hat OpenStack Reporter: Shailesh Chhabdiya <schhabdi>
Component: openstack-cinderAssignee: Brian Rosmaita <brian.rosmaita>
Status: CLOSED ERRATA QA Contact: Yosi Ben Shimon <ybenshim>
Severity: high Docs Contact: RHOS Documentation Team <rhos-docs>
Priority: high    
Version: 16.1 (Train)CC: brian.rosmaita, kgilliga, lsvaty, mariel, oommen, tvignaud
Target Milestone: z6Keywords: OtherQA, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: openstack-cinder-15.6.1-2.20230906144857.el8ost Doc Type: Enhancement
Doc Text:
This enhancement adds support for the Block Storage (cinder) NetApp driver to allow both custom and OpenStack igroups to coexist. Before this release, detaching a volume could fail if it had been attached using the custom igroup instead of the standard OpenStack igroup. With this release, detaching volumes no longer fail when the volume is in a custom igroup.
Story Points: ---
Clone Of:
: 2237708 (view as bug list) Environment:
Last Closed: 2024-03-26 12:25:39 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: 2237708    
Bug Blocks:    

Description Shailesh Chhabdiya 2023-09-06 12:34:38 UTC
Description of problem:
Facing issues while creating volumes from image with below error

  2023-08-29 16:29:25.949 139 WARNING cinder.volume.drivers.netapp.dataontap.client.client_base [req-393ef25d-bcde-4a2e-baea-73ae596c2782 4af7d936894a4ea6a109d47b3f89c170 724babe3622c4507bd64479141d72b52 - 8470b8faf36e4c95a3bfc6feb8ff8793 8470b8faf36e4c95a3bfc6feb8ff8793] Error unmapping LUN. Code :13115, Message: Invalid value specified for "initiator-group" element within "lun-unmap": "".: cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 13115:Invalid value specified for "initiator-group" element within "lun-unmap": "".

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

RHOSP16.1

How reproducible:
Always

Actual results:
Volume creation fails

Expected results:
Volume should get created

Additional info:
Upstream BZ: https://bugs.launchpad.net/cinder/+bug/1697490
Fix        : https://opendev.org/openstack/cinder/commit/1b2742a3d397d67ea989f080d44cc537bdcf1f5a

Comment 4 Brian Rosmaita 2023-09-06 13:58:50 UTC
Not sure that this will actually be approved for 16.2; there is some discussion that igroup support is a future feature that is not backportable.

There is a manual workaround: https://access.redhat.com/support/cases/#/case/02650791/discussion?commentId=a0a2K00000Uztu6QAB

Comment 6 Brian Rosmaita 2023-09-18 15:29:06 UTC
@oommen Bobby, if you'd like to QA this, let me know how you'd like the rpms delivered to you.  Thanks!

Comment 7 Brian Rosmaita 2023-09-18 15:35:48 UTC
@oommen Bobby, if you'd like to QA this, let me know how you'd like the rpms delivered to you.  Thanks!
(Sorry about the duplicate comment, got caught in an update and the needinfo didn't take.)

Comment 8 Bobby Oommen 2023-09-29 13:04:52 UTC
We are running into some environment challenges to test the patch. Please give us little more time, and I will update here

Comment 10 Brian Rosmaita 2023-10-17 14:30:26 UTC
Added suggested doc text.

Comment 15 Brian Rosmaita 2023-10-30 13:07:58 UTC
@kgilliga I believe that the blocker- means that this will not be included in the z6 release and will only be available in an async or hotfix.

Comment 16 kgilliga 2023-10-30 13:22:00 UTC
(In reply to Brian Rosmaita from comment #15)
> @kgilliga I believe that the blocker- means that this will not be
> included in the z6 release and will only be available in an async or hotfix.

Thanks! I'm removing the "+" from the doc text flag so the doc text does not appear in the release notes.

Comment 17 Brian Rosmaita 2024-02-01 21:35:53 UTC
Was just looking this over to make sure it's ready for 16.2 async; added a link to the exception Jira.

Comment 24 errata-xmlrpc 2024-03-26 12:25:39 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 (Red Hat OpenStack Platform 16.2.6 bug fix and enhancement 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-2024:1519