Skip to main content
NetApp Knowledge Base

Cinder Driver does not properly initialize when using REST API

Views:
3
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

Applies to

  • RHOSO 18 (RedHat Openstack on OpenShift), based in Antelope
  • Cinder driver
  • NetApp Data ONTAP 9.16
  • iSCSI protocol

Issue

When cinder backend is configured with the parameter netapp_use_legacy_client =  False  , cinder driver does not properly initialize:

YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager [None req-f2de927d-cbb9-4979-9dda-ae6264430ca9 - - - - - -] Failed to initialize driver.: cinder.exception.NotFound: Counter avg_processor_busy not found
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager Traceback (most recent call last):
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode_rest.py", line 926, in get_performance_counter_info
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     response = self.send_request(
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/volume_utils.py", line 1565, in trace_method_logging_wrapper
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     return f(*args, **kwargs)
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode_rest.py", line 231, in send_request
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     response = self.get_records(
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/volume_utils.py", line 1565, in trace_method_logging_wrapper
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     return f(*args, **kwargs)
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/netapp/dataontap/client/client_cmode_rest.py", line 261, in get_records
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     _, response = self.connection.invoke_successfully(
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager   File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line 874, in invoke_successfully
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager     raise NaApiError(code, msg)
YYYY-MM-DD hh:mm:ss  ERROR cinder.volume.manager cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 8585320:Object "system:constituent" was not found.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.