Bug 1610604 - NetApp (DHSS = True) driver with Standalone Plugin throws error on share server deletion
Summary: NetApp (DHSS = True) driver with Standalone Plugin throws error on share serv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-manila
Version: 10.0 (Newton)
Hardware: All
OS: All
medium
low
Target Milestone: z9
: 10.0 (Newton)
Assignee: Goutham Pacha Ravi
QA Contact: Dustin Schoenbrun
mmurray
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-01 03:30 UTC by Goutham Pacha Ravi
Modified: 2018-09-17 17:01 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2018-09-17 17:00:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1698250 0 None None None 2018-08-01 03:30:06 UTC
OpenStack gerrit 477691 0 None None None 2018-08-01 03:31:44 UTC
Red Hat Product Errata RHBA-2018:2671 0 None None None 2018-09-17 17:01:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.