openstack-dashboard charm does not prefix static paths with configured webroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
Triaged
|
Low
|
Unassigned | ||
openstack-dashboard (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My instance of the dashboard is behind a web proxy which is used to expose applications to the external network. I am setting the "webroot" setting on the Juju charm to "/openstack" because all links on the web proxy take the form of "https:/
But when setting the "webroot" setting in the openstack-dashboard charm, WEBROOT is not set correctly. This results in none of the static graphical content (such as the CSS files) being loaded when I try and access the dashboard through the proxy as the path is being served like this "/static/
I noticed in local_settings.py the following variables get set:
LOGIN_URL=
LOGOUT_
LOGIN_REDIRECT_
Changed in openstack-dashboard (Juju Charms Collection): | |
status: | New → Invalid |
As we're in full control of:
WEBROOT = '{{ webroot }}'
STATIC_URL = '/static/'
this should be fixable.