Comment 6 for bug 1442664

Kevin Tibi (ktibi) wrote :

I use glance client 0.17.2 and I have always this bug. All service listen in http but I use a proxy https on my control node. And my endpoint show url with https.

nova image-list

2015-07-27 17:16:10.472 4212 ERROR nova.api.openstack [req-804f3732-18e6-4e3e-99aa-a23e6f5ec4e8 2d3e8f76f3f9429c869e5a085837d2f1 d6f612ae52a9411f86ab5e2a79b4fd7e - - -] Caught error: 'PoolManager' object has no attribute 'connection_kw'
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack Traceback (most recent call last):
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return req.get_response(self.application)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack application, catch_exc_info=False)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return resp(environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return self._call_app(env, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return resp(environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return resp(environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack response = self.app(environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return resp(environ, start_response)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack content_type, body, accept)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return method(req=request, **action_args)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 144, in detail
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack **page_params)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 68, in get_all
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return session.detail(context, **kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 274, in detail
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack for image in images:
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 249, in list
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack for image in paginate(params, return_request_id):
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 233, in paginate
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack images, resp = self._list(url, "images")
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack resp, body = self.client.get(url)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 262, in get
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack return self._request('GET', url, **kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 209, in _request
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack **kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack resp = self.send(prep, **send_kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack r = adapter.send(request, **kwargs)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 337, in send
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack conn = self.get_connection(request.url, proxies)
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/common/https.py", line 179, in get_connection
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack except KeyError:
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/common/https.py", line 157, in _create_glance_httpsconnectionpool
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack def request_url(self, request, proxies):
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack AttributeError: 'PoolManager' object has no attribute 'connection_kw'
2015-07-27 17:16:10.472 4212 TRACE nova.api.openstack