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

Bug 1610604

Summary: NetApp (DHSS = True) driver with Standalone Plugin throws error on share server deletion
Product: Red Hat OpenStack Reporter: Goutham Pacha Ravi <gouthamr>
Component: openstack-manilaAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED ERRATA QA Contact: Dustin Schoenbrun <dschoenb>
Severity: low Docs Contact: mmurray
Priority: medium    
Version: 10.0 (Newton)CC: amcleod, gouthamr, knylande, sclewis, tbarron
Target Milestone: z9Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-manila-3.0.0-13.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the NetApp driver operating in driver_handles_share_servers=True mode could not delete share servers that were created on non-segmented networks. This resulted in clean-up issues that prevented users from creating new shares. With this update, the NetApp driver does not assume that share servers are provisioned only on segmented (VLAN) networks. As a result of this, share servers on non-segmented networks can be cleaned up successfully, and users can create new shares.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 17:00:45 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 Goutham Pacha Ravi 2018-08-01 03:30:07 UTC
Description of problem:

NetApp (DHSS = True) driver with Standalone Plugin throws error on share server deletion


When attempting to delete the active Share Server created by the NetApp CIFS driver with DHSS = True on Standalone plugin, the reporter following error on m-shr log - IndexError: list index out of range.

The Share server goes from "active" to "error" state.

Unless the ONTAP SVM is manually deleted from the backend, one is unable to clean up the share server on manila.

Version-Release number of selected component (if applicable): Newton / OSP 10


How reproducible:


Steps to Reproduce:
1. Setup the Manila/NetApp backend with DHSS=True and Standalone networking
Instructions: https://netapp-openstack-dev.github.io/openstack-docs/ocata/manila/configuration/manila_config_files/network_plugins/section_standalone_network_plugin.html
2. Create share network N1
3. Create share A on share network N1
5. Delete share A
4. (As administrator), list and delete the backing share server that was created for share A

Actual results:

Share server deletion fails, The Share server goes from "active" to "error" state.


Expected results:

Share server deletion succeeds


Additional info:

The fix is available in RH OSP 11, 12, 13 and beyond, but missing in RH OSP 10.

Comment 12 errata-xmlrpc 2018-09-17 17:00:45 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:2671