Nova cannot use https when call glance-client
Bug #1471992 reported by
Stanislaw Bogatkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
MOS Glance | ||
5.1.x |
Invalid
|
High
|
Alex Ermolov | ||
6.0.x |
Fix Released
|
High
|
Alex Ermolov | ||
6.1.x |
Invalid
|
High
|
Alex Ermolov |
Bug Description
If ssl for endpoints is set, then nova image-list command doesn't work, cause when it calls glance, it try to use plain http instead of https. This behavior should be fixed.
Changed in fuel: | |
assignee: | MOS Nova (mos-nova) → Andrey Kurilin (akurilin) |
affects: | fuel → mos |
Changed in mos: | |
milestone: | 7.0 → none |
milestone: | none → 7.0 |
tags: | added: 6.0 release-notes-done |
To post a comment you must log in.
More logs:
[root@node-1 ~]# keystone endpoint-list ------- ------- ------- ------- +------ -----+- ------- ------- ------- ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- -----+- ------- ------- ------- ------- -----+ ------- ------- ------- ------- +------ -----+- ------- ------- ------- ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- -----+- ------- ------- ------- ------- -----+ 0843cc9e5d9492d 37 | RegionOne | https:/ /10.109. 21.2:5000/ v2.0 | https:/ /internal. fuel.local: 5000/v2. 0 | http:// 10.109. 22.2:35357/ v2.0 | a454d2a580d345e b981c5f709d8beb 75 | a87e08f5be54d9a 05 | RegionOne | https:/ /10.109. 21.2:8776/ v1/%(tenant_ id)s | https:/ /internal. fuel.local: 8776/v1/ %(tenant_ id)s | https:/ /10.109. 22.2:8776/ v1/%(tenant_ id)s | 86c7994a7fc14c5 ead108d3503558a b5 | 2b0676cd044234b a7 | RegionOne | https:/ /10.109. 21.2:8773/ services/ Cloud | https:/ /internal. fuel.local: 8773/services/ Cloud | https:/ /10.109. 22.2:8773/ services/ Admin | f36166d2728e452 88a12537b5b518b c7 | f8820069f9da328 8a | RegionOne | https:/ /10.109. 21.2:9292 | https:/ /internal. fuel.local: 9292 | https:/ /10.109. 22.2:9292 | 424a4fd0df9544a fa4469aa6f61ce8 2e | 0a6f0b0ee00436e fc | RegionOne | https:/ /10.109. 21.2:8774/ v2/%(tenant_ id)s | https:/ /internal. fuel.local: 8774/v2/ %(tenant_ id)s | https:/ /10.109. 22.2:8774/ v2/%(tenant_ id)s | 46d262e974324ab 99816c7e5616f84 44 | 4b0c6455832d79e fa | RegionOne | https:/ /10.109. 21.2:8776/ v2/%(tenant_ id)s | https:/ /internal. fuel.local: 8776/v2/ %(tenant_ id)s | https:/ /10.109. 22.2:8776/ v2/%(tenant_ id)s | 442a059e5d854bc 7b13a5f9fbc1727 5b | ------- ------- ------- ------- +------ -----+- ------- ------- ------- ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- -----+- ------- ------- ------- ------- -----+
+------
| id | region | publicurl | internalurl | adminurl | service_id |
+------
| 149d82bce8d7448
| 2069d4ff8d6c4a9
| 2a9785d44ae2446
| b8ea83ee9fb347d
| d7ab3e488ef9414
| ff222c3b8e5c4ef
+------
[root@node-1 ~]# glance --debug image-list python2. 6/site- packages/ glanceclient/ client. py:26: DeprecationWarning: `version` keyword is being deprecated. Please pass the version as part of the URL. http:// $HOST:$PORT/v$ VERSION_ NUMBER rning) glanceclient' -H 'Content-Type: application/ octet-stream' -H 'Accept-Encoding: gzip, deflate, compress' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}22e8d4aac 973136bce42aa7c 0a05d6b153e41c9 e' --cert None --key None https:/ /internal. fuel.local: 9292/v1/ images/ detail? sort_key= name&sort_ dir=asc& limit=20
/usr/lib/
DeprecationWa
curl -i -X GET -H 'User-Agent: python-
HTTP/1.1 200 OK request- id: req-4f68dfcf- dd14-4331- a61a-b3efc7ab54 fd
date: Tue, 07 Jul 2015 04:33:47 GMT
connection: close
content-type: application/json; charset=UTF-8
content-length: 14
x-openstack-
{"images": []}
+----+- -----+- ------- -----+- ------- ------- ---+--- ---+--- -----+
| ID | Name | Disk Forma...