跳转到主内容

Cinder驱动程序无法在OpenStack Wallabby中正确初始化

适用场景

  • OpenStack Wallabby
  • 用于 /etc/cinder/cinder.conf使用SVM凭据定义实例的Cinder配置文件
  • NetApp ONTAP 存储后端

问题描述

Cinder驱动程序未正确初始化、并出现 /var/log/cinder/volume.log 类似以下内容的错误:

2021-11-24 12:06:44.258 26 DEBUG cinder.volume.drivers.netapp.dataontap.client.client_cmode [req-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - - - - -] <== is_qos_min_supported: exception (0ms) TypeError('can only concatenate str (not "NoneType") to str') trace_logging_wrapper /usr/lib/python3/dist-packages/cinder/volume/volume_utils.py:1433

2021-11-24 12:06:44.260 26 ERROR cinder.volume.manager [req-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - - - - -] Failed to initialize driver.: TypeError: can only concatenate str (not "NoneType") to str

 

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.