跳转到主内容

Cinder 驱动程序使用 NetApp API 初始化失败。原因-408:请求超时

Views:
Visibility:
Public
Votes:
0
Category:
openstack
Specialty:
virt
Last Updated:

适用于

  • OpenStack Cinder 使用 NetApp ONTAP 驱动程序
  • Red Hat OpenStack Platform (RHOSP)
  • Cinder 主机与 ONTAP 之间存在中间网络设备的环境

问题描述

当为 NetApp ONTAP 后端存储配置时,OpenStack Cinder 驱动程序初始化失败。在 Cinder 日志中会反复看到以下错误:

Failed to initialize driver.: cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason-408: Request Timeoutcinder.volume.manager urllib.error.HTTPError: HTTPError 408: Request Timeout
cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason-408: Request Timeout

验证:
使用增加的数据包大小运行 ping 测试以检查 MTU 行为:

示例命令:
ping -M do -s 1620 <ONTAP-IP>
ping -M do -s 1621 <ONTAP-IP>
ping <ONTAP-IP> vrf <VRF_NAME> packet-size 1620
ping <ONTAP-IP> vrf <VRF_NAME> packet-size 1621

注意:
<VRF_NAME> = 路由器上的虚拟路由和转发表(例如,带外管理 VRF)。
<ONTAP-IP> = ONTAP 集群管理 IP。

示例输出:

 成功案例

RHEL3# ping 10.x.x.x vrf <VRF_NAME> packet-size 1620
PING 10.x.x.x (10.x.x.x): 1620 data bytes
1628 bytes from 10.x.x.x: icmp_seq0 ttl=63 time=0.886 ms
1628 bytes from 10.x.x.x: icmp_seq1 ttl=63 time=0.705 ms
1628 bytes from 10.x.x.x: icmp_seq2 ttl=63 time=0.785 ms
1628 bytes from 10.x.x.x: icmp_seq3 ttl=63 time=0.697 ms
1628 bytes from 10.x.x.x: icmp_seq4 ttl=63 time=0.646 ms

--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max = 0.646/0.705/0.886 ms

故障案例

RHEL3# ping 10.x.x.x vrf <VRF_NAME> packet-size 1621
PING 10.x.x.x (10.x.x.x): 1621 data bytes
Request 1 timed out
Request 2 timed out
Request 3 timed out
Request 4 timed out
Request 5 timed out

--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 packets received, 100.00% packet loss

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.