VNX driver is using library urllib to do http connection to the storage system.
But under python 37, it failed to start due to some issues like wrap_socket() got an unexpected keyword argument '_context'. This issue is reported in the eventlet repo and still open: https://github.com/eventlet/eventlet/issues/526
Versions:
Python 3.7.3
six 1.12.0
urllib3 11.24.3
eventlet 0.25.0
VNX manila driver log:
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager [None req-d2b44d43-5ba8-489b-a002-d4350d68bdc8 None None] Error encountered during initialization of driver EMCShareDriver@vnxmanila2@london: TypeError: wrap_socket() got an unexpected keyword argument '_context'
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager Traceback (most recent call last):
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/manager.py", line 310, in _driver_setup
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.driver.do_setup(ctxt)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/driver.py", line 155, in do_setup
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.plugin.connect(self, context)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/common/enas/utils.py", line 52, in inner
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager ret = func(self, *args, **kwargs)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/plugins/vnx/connection.py", line 584, in connect
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.manager = manager.StorageObjectManager(config)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/plugins/vnx/object_manager.py", line 44, in __init__
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.connectors['XML'] = connector.XMLAPIConnector(configuration)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/common/enas/connector.py", line 55, in __init__
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self._do_setup()
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/opt/stack/new/manila/manila/share/drivers/dell_emc/common/enas/connector.py", line 63, in _do_setup
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager resp = self.url_opener.open(req)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/urllib/request.py", line 525, in open
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager response = self._open(req, data)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager '_open', req)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager result = func(*args)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager context=self._context, check_hostname=self._check_hostname)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager encode_chunked=req.has_header('Transfer-encoding'))
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 1229, in request
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self._send_request(method, url, body, headers, encode_chunked)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.endheaders(body, encode_chunked=encode_chunked)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self._send_output(message_body, encode_chunked=encode_chunked)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.send(msg)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 956, in send
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager self.connect()
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/lib/python3.7/http/client.py", line 1392, in connect
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager server_hostname=server_hostname)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/local/lib/python3.7/dist-packages/eventlet/green/ssl.py", line 438, in wrap_socket
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager return GreenSSLSocket(sock, *a, _context=self, **kw)
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager File "/usr/local/lib/python3.7/dist-packages/eventlet/green/ssl.py", line 76, in __new__
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager *args, **kw
Jun 17 09:47:20 vnxmanila2 manila-share[15024]: ERROR manila.share.manager TypeError: wrap_socket() got an unexpected keyword argument '_context'
Hey Ryan is there dell-emc engineer we can assign this driver issues too? or are you taking it?