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

Bug 1561474

Summary: NetApp cDOT NFS driver sends the wrong flexvol name to the filter to delete volumes/snapshots
Product: Red Hat OpenStack Reporter: Siggy Sigwald <ssigwald>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: high Docs Contact: Kim Nylander <knylande>
Priority: high    
Version: 10.0 (Newton)CC: abishop, eharney, jbiao, pgrist, pmannidi, rcernin, srevivo, ssigwald, tshefi
Target Milestone: z9Keywords: OtherQA, Triaged, ZStream
Target Release: 10.0 (Newton)Flags: tshefi: automate_bug-
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-9.1.4-38.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 16:57:43 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 Siggy Sigwald 2018-03-28 12:06:52 UTC
Description of problem:
The driver will fail the deletion of the volume/snapshot on first attempt and will resort to removing the files via the mounted filesystem

Version-Release number of selected component (if applicable):
openstack-cinder-9.1.4-12.el7ost.noarch

How reproducible:
Every time


Additional info:
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode [req-30d439b1-4482-4899-a6d9-7498ea2eae74 - - - - -] Could not get performance base counter name. Performance-based scheduler functions may not be available.
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode Traceback (most recent call last):
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/performance/perf_cmode.py", line 47, in _init_counter_info
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     'avg_processor_busy'))
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/performance/perf_base.py", line 224, in _get_base_counter_name
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     object_name, counter_name)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 842, in trace_method_logging_wrapper
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     return f(*args, **kwargs)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_base.py", line 292, in get_performance_counter_info
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     enable_tunneling=False)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 842, in trace_method_logging_wrapper
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     return f(*args, **kwargs)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_base.py", line 93, in send_request
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     return self.connection.invoke_successfully(request, enable_tunneling)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line 222, in invoke_successfully
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode     raise NaApiError(code, msg)
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode NaApiError: NetApp API failed. Reason - 13003:Insufficient privileges: user 'openstack' does not have read access to this resource
2018-03-22 16:56:51.703 177756 ERROR cinder.volume.drivers.netapp.dataontap.performance.perf_cmode

Comment 15 Tzach Shefi 2018-08-07 12:04:23 UTC
Set OtherQA, don't have access to netapp at the moment. 
If get hold of a host+storage I'll try to verify this.

Comment 17 Alex McLeod 2018-09-03 07:58:04 UTC
Hi there,

If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field.

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Thanks,
Alex

Comment 19 errata-xmlrpc 2018-09-17 16:57:43 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:2717

Comment 20 Tzach Shefi 2019-07-18 08:51:49 UTC
Nothing to automate/test per close loop, a specific backend issue.

Comment 21 Red Hat Bugzilla 2023-09-15 00:07:11 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days