Comment 6 for bug 1902821

Revision history for this message
Akihiro Motoki (amotoki) wrote :

According to my small test, the difference between runserver and DevStack apache env is whether an additional parent path (/dashboard/ in case of DevStack apache env) exists or not.
When I change setDefaultIndexUrl in openstack_dashboard/static/app/core/images/images.module.js to '/project/images/' to '/dashboard/project/images/', the reported issue disappeared in DevStack apache env and started to appear in the runserver env.
From this result, it is apparent that setDefaultIndexUrl() does not WEBROOT in the horizon settings.
I think we need to update setDefaultIndexUrl() (or something other) to honor WEBROOT.

Note that Tatiana's fix above is related but I think it does not fix this bug.

(I dropped the same comment in the review)