OpenStack cinder netapp driver initialization fails with "NaApiError: NetApp API failed. Reason - 13001:Object "system:constituent" was not found."

Solution Verified - Updated -

Issue

Cinder volume NetApp driver initialization fails on cinder-volume start with

{"asctime": "2018-01-09 10:04:41.710","process": "139","levelname": "ERROR","name": "cinder.volume.drivers.netapp.dataontap.performance.perf_cmode", "request_id": "req-7eafb49c-ee33-4abf-b442-569bac2a7d87", "user_identity": {"user_id": "-", "project_id": "-", "domain_id": "-", "user_domain_id": "-", "project_domain_id": "-"},"instance": {},"message":"Could not get performance base counter name. Performance-based scheduler functions may not be available."}
2018-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>Traceback (most recent call last):
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    'avg_processor_busy'))
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    object_name, counter_name)
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    return f(*args, **kwargs)
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    enable_tunneling=False)
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    return f(*args, **kwargs)
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    return self.connection.invoke_successfully(request, enable_tunneling)
2018-01-09 10:04:41.710 139 TRACE 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-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>    raise NaApiError(code, msg)
2018-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>NaApiError: NetApp API failed. Reason - 13001:Object "system:constituent" was not found.
2018-01-09 10:04:41.710 139 TRACE cinder.volume.drivers.netapp.dataontap.performance.perf_cmode  >>>>>
{"asctime": "2018-01-09 10:04:41.757","process": "95","levelname": "ERROR","name": "cinder.volume.manager", "request_id": "req-74539636-26c2-466e-94f3-375c64739ee3", "user_identity": {"user_id": "-", "project_id": "-", "domain_id": "-", "user_domain_id": "-", "project_domain_id": "-"},"instance": {},"message":"Failed to initialize driver."}
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>Traceback (most recent call last):
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 415, in init_host
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    self.driver.check_for_setup_error()
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 842, in trace_method_logging_wrapper
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    return f(*args, **kwargs)
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 842, in trace_method_logging_wrapper
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    return f(*args, **kwargs)
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 842, in trace_method_logging_wrapper
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    return f(*args, **kwargs)
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/nfs_cmode.py", line 99, in check_for_setup_error
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    self.ssc_library.check_api_permissions()
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>  File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/netapp/dataontap/utils/capabilities.py", line 79, in check_api_permissions
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>    raise exception.VolumeBackendAPIException(data=msg)
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: User not permitted to query Data ONTAP volumes.
2018-01-09 10:04:41.757 95 TRACE cinder.volume.manager  >>>>>

Environment

  • Red Hat OpenStack Platform 10.0
  • openstack-cinder < 9.1.4-10.el7ost

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In