跳转到主内容

使用 REST API 时 Cinder Driver 未正确初始化

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

适用于

  • RHOSO 18(基于 Antelope 的 RedHat Openstack on OpenShift)
  • Cinder 驱动程序
  • NetApp Data ONTAP 9.16
  • iSCSI 协议

问题描述

当使用参数 netapp_use_legacy_client =  False  配置 cinder 后端时,cinder 驱动程序未正确初始化:

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.

 

  • 这篇文章对您有帮助吗?