nova work with glance SSL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My environment is :
Nova api --https--> haproxy(SSL proxy)----http----> Glance api1
I use centos + rdo rpm package(havana), my haproxy is 1.5_dev21.
It can work well if I config in nova.conf as following:
glance_
But when I want nova api talk with glance api in https, it can't work. My config is as following:
glance_api_servers=https:/
When I boot VM, I will get the error as below:
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack legacy_
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack image_id, boot_meta = self._get_
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack image = image_service.
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack _reraise_
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack image = self._client.
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack return getattr(
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack % urllib.
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack return self._http_
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack body_str = ''.join([chunk for chunk in body_iter])
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack chunk = self.next()
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack chunk = self._resp.
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib64/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack self.close()
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib64/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack self.fp.close()
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib64/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack self._sock.close()
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack File "/usr/lib/
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack attr = getattr(self.fd, name)
2014-01-08 04:39:01.480 6011 TRACE nova.api.openstack AttributeError: 'GreenSocket' object has no attribute 'close'
description: | updated |
description: | updated |
You need a newer version of eventlet. This was reported in [1] and fixed with the patch in [2]. I'll try to update the packages in RDO but in the meanwhile, could you open a bug in [3] for tracking it? Thanks.
[1] https:/ /bitbucket. org/eventlet/ eventlet/ issue/136 /bitbucket. org/eventlet/ eventlet/ commits/ 609f230 /bugzilla. redhat. com/enter_ bug.cgi? product= RDO&component= openstack- nova
[2] https:/
[3] https:/