メインコンテンツまでスキップ

OpenStack:CHAPの使用中はボリュームを接続できません

Views:
16
Visibility:
Public
Votes:
0
Category:
openstack<a>2008657425</a>
Specialty:
virt
Last Updated:

環境

  • OpenStack
  • Cinder

問題

単方向CHAP認証の使用中にCinderボリュームをインスタンスに接続しようとすると、「VolumeBackendAPIException」が表示されます。  問題 を再現するには:

  1. Cinderボリュームのインスタンスへの接続を試行します

# openstack server add volume <server><volume>

  1. Cinderボリュームログには次のVolumeBackendAPIExceptionが表示されます。

2021-02-19 15:33:22.495 26388 ERROR cinder.volume.manager VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Failed to set CHAP authentication for target IQN iqn.1994-05.com.redhat:xxxxxxxxxx. Details: Unexpected output. Expected [Password:] but received [Last login time: 2/19/2021 20:29:52^M
2021-02-19 15:33:22.495 26388 ERROR cinder.volume.manager
2021-02-19 15:33:22.495 26388 ERROR cinder.volume.manager Password:]
2021-02-19 15:33:22.495 26388 ERROR cinder.volume.manager
2021-02-19 15:33:22.496 26388 ERROR oslo_messaging.rpc.server [req-6986ef79-84e3-48b4-b38c-a2dfc7c8eba8 9f61737278e74e299ecf78393c6f2cc4 aa13b5b8c1e449fd93e598af2b4af8d0 - default default] Exception during message handling: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Bad or unexpected response from the storage volume backend API: Failed to set CHAP authentication for target IQN iqn.1994-05.com.redhat:xxxxxxxxxxx. Details: Unexpected output. Expected [Password:] but received [Last login time: 2/19/2021 20:29:52^M

 

 

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.