ironic fails when glance-api is deployed under uwsgi as vhost
Bug #1699542 reported by
Pavlo Shchelokovskyy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Critical
|
Pavlo Shchelokovskyy | ||
Mogan |
Fix Released
|
Undecided
|
Liusheng |
Bug Description
Recently glance-api has moved to UWSGI+apache, and this broke ironic.
We perform no discovery of glance API endpoint from keystone catalog. Instead we rely on glance api to be always configured as host:port in ironic.conf, but that is broken when there is no port in http://<IP>/image.
Besides, we are using urljoin to form a path to image in some places, and that would break also, since
urljoin('http://<IP>/image', '/v1/images') == 'http://<IP>/v1/images'
loosing vhost altogether.
Changed in ironic: | |
assignee: | nobody → Pavlo Shchelokovskyy (pshchelo) |
Changed in ironic: | |
importance: | Undecided → Critical |
Changed in ironic: | |
status: | New → Triaged |
tags: | added: gate |
Changed in ironic: | |
status: | Triaged → In Progress |
Changed in ironic: | |
assignee: | Dmitry Tantsur (divius) → milan k (vetrisko) |
Changed in ironic: | |
assignee: | milan k (vetrisko) → Dmitry Tantsur (divius) |
Changed in ironic: | |
assignee: | Dmitry Tantsur (divius) → Pavlo Shchelokovskyy (pshchelo) |
Changed in ironic: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
The devstack patch which appears to have broken the gate: https:/ /review. openstack. org/#/c/ 459451/