a10networks / a10-neutron-lbaas

A10 Networks, Openstack Neutron LBaaS Driver
Apache License 2.0
9 stars 19 forks source link

ACOS 2.7.2-P4-SP1 produces SSL HELLO error #49

Closed ghost closed 9 years ago

ghost commented 9 years ago

Attempting to create a pool with driver_v1 produces the following stack trace:

2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 448, in create
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/services/loadbalancer/plugin.py", line 159, in create_pool
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     driver.create_pool(context, p)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/home/ubuntu/a10-openstack-lbaas/a10_openstack_lbaas/driver_v1.py", line 149, in create_pool
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self.a10.pool.create(context, pool)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/home/ubuntu/a10-neutron-lbaas/a10_neutron_lbaas/v1/handler_pool.py", line 37, in create
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     with a10.A10WriteStatusContext(self, context, pool) as c:
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/home/ubuntu/a10-neutron-lbaas/a10_neutron_lbaas/a10_context.py", line 43, in __enter__
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self.select_appliance_partition()
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/home/ubuntu/a10-neutron-lbaas/a10_neutron_lbaas/a10_context.py", line 72, in select_appliance_partition
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self.client.system.partition.active(name)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/partition.py", line 54, in active
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self._post("/active-partition/" + name)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/base.py", line 38, in _post
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     return self._request('POST', action, params, **kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/base.py", line 31, in _request
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     return self.client.http.request(method, self.url(action), params,
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/base.py", line 27, in url
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self.auth_header['Authorization'] = "A10 %s" % self.client.session.id
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/session.py", line 28, in id
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     self.authenticate(self.username, self.password)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/session.py", line 43, in authenticate
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     r = self.http.post(url, payload)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/axapi_http.py", line 135, in post
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     return self.request("POST", api_url, params, headers, **kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/acos_client/v30/axapi_http.py", line 105, in request
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     data=payload, headers=hdrs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in request
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     response = session.request(method=method, url=url, **kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     resp = self.send(prep, **send_kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     r = adapter.send(request, **kwargs)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 431, in send
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource     raise SSLError(e, request=request)
2015-05-13 17:12:21.405 4024 TRACE neutron.api.v2.resource SSLError: [Errno 1] _ssl.c:510: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version```
ghost commented 9 years ago

Wrong repo.