メインコンテンツへスキップ

REST API使用時にCinderドライバが正しく初期化されない

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

環境

  • Antelope をベースにした RHOSO 18(RedHat Openstack on OpenShift)
  • Cinder ドライバ
  • NetApp Data ONTAP 9.16
  • iSCSIプロトコル

問題

cinder バックエンドがパラメーター netapp_use_legacy_client =  False  で構成されている場合、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.

 

  • この記事は役に立ちましたか?