跳转到主内容

与NetApp存储器通信时出错。:urllib.error.URLError

Views:
6
Visibility:
Public
Votes:
0
Category:
openstack<a>Cinder</a><a>2009-382586</a><a>Kola-Ansible</a><a>OpenStack Xena</a>
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9.9.1
  • OpenStack Cinder卷驱动程序
  • OpenStack Xena -(全罗拉-安可)

问题描述

  • NetApp Cinder后端保持关闭状态
  • Cinder-volume.log
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api [req-1f48f12e-988f-4b42-b936-1311157550ea - - - - -] Error communicating with NetApp filer.: urllib.error.URLError: <urlopen error [Errno 110] ETIMEDOUT>
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api Traceback (most recent call last):
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 1349, in do_open
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     encode_chunked=req.has_header('Transfer-encoding'))
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 1273, in request
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     self._send_request(method, url, body, headers, encode_chunked)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 1319, in _send_request
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     self.endheaders(body, encode_chunked=encode_chunked)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 1268, in endheaders
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     self._send_output(message_body, encode_chunked=encode_chunked)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 1044, in _send_output
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     self.send(msg)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 982, in send
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     self.connect()
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/http/client.py", line 954, in connect
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     (self.host,self.port), self.timeout, self.source_address)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/var/lib/kolla/venv/lib/python3.6/site-packages/eventlet/green/socket.py", line 63, in create_connection
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     raise err
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/var/lib/kolla/venv/lib/python3.6/site-packages/eventlet/green/socket.py", line 53, in create_connection
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     sock.connect(sa)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/var/lib/kolla/venv/lib/python3.6/site-packages/eventlet/greenio/base.py", line 253, in connect
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     socket_checkerr(fd)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/var/lib/kolla/venv/lib/python3.6/site-packages/eventlet/greenio/base.py", line 51, in socket_checkerr
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     raise socket.error(err, errno.errorcode[err])
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api TimeoutError: [Errno 110] ETIMEDOUT
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api During handling of the above exception, another exception occurred:
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api Traceback (most recent call last):
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/var/lib/kolla/venv/lib/python3.6/site-packages/cinder/volume/drivers/netapp/dataontap/client/api.py", line 199, in send_http_request
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     response = self._opener.open(request)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     response = self._open(req, data)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     '_open', req)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     result = func(*args)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 1377, in http_open
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     return self.do_open(http.client.HTTPConnection, req)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api   File "/usr/lib64/python3.6/urllib/request.py", line 1351, in do_open
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api     raise URLError(err)
2022-11-25 20:58:33.493 96 ERROR cinder.volume.drivers.netapp.dataontap.client.api urllib.error.URLError: <urlopen error [Errno 110] ETIMEDOUT>
  • cinder.config
[myNfsBackend]
volume_backend_name = myNfsBackend
volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver
netapp_server_hostname = 172.xxx.xxx.xxx (This is cluster management IP)  
netapp_server_port = 80
netapp_transport_type = http
netapp_storage_protocol = nfs
netapp_storage_family = ontap_cluster
netapp_login = admin
netapp_password = xxxxxxxx
netapp_vserver = svm1
nfs_shares_config = /etc/cinder/nfs_shares
nas_secure_file_operations = false
nas_secure_file_permissions = false

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.