yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52440
[Bug 1524038] Re: Determining glance version fails with https
Based on the comment in the abandoned change, it looks like this bug is
invalid. Please reopen if I'm mistaken.
** Changed in: nova
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1524038
Title:
Determining glance version fails with https
Status in OpenStack Compute (nova):
Invalid
Bug description:
The nova.image.glance.py method _determine_curr_major_version fails
when using https with certificate validation to communicate with the
glance server. The stack looks like this:
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance Traceback (most recent call last):
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 170, in _determine_curr_major_version
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance response, content = http_client.get('/versions')
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 280, in get
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance return self._request('GET', url, **kwargs)
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 261, in _request
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance raise exc.CommunicationError(message=message)
2015-12-08 12:26:57.336 31751 ERROR nova.image.glance CommunicationError: Error finding address for https://my.glance.server:9292/versions: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
The root cause is that this method creates an HttpClient to fetch the
versions URI and it does not pass in the cert validation information.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1524038/+subscriptions
References