Description of problem: When installing openstack-dashboard-2015.1-dev306.fc21.noarch from the Delorean repo on a Fedora 21 system and starting httpd, the following errors are displayed on /var/log/httpd/error_log, and the web page shows without any CSS content: [Tue Apr 14 08:42:35.212048 2015] [wsgi:error] [pid 16993] Not Found: /dashboard/static/dashboard/js/76adef98ad14.js [Tue Apr 14 08:42:35.215316 2015] [wsgi:error] [pid 16993] Not Found: /dashboard/static/dashboard/img/favicon.ico [Tue Apr 14 08:42:35.267375 2015] [wsgi:error] [pid 16993] Not Found: /dashboard/static/dashboard/js/87acf9c3aa9c.js [Tue Apr 14 08:42:35.298567 2015] [wsgi:error] [pid 16993] Not Found: /dashboard/static/dashboard/js/4c734d3a4ff4.js [Tue Apr 14 08:42:35.321533 2015] [wsgi:error] [pid 16993] Not Found: /dashboard/static/dashboard/img/favicon.ico Adding the following line to /etc/httpd/conf.d/openstack-dashboard.conf fixed it: Alias /dashboard/static /usr/share/openstack-dashboard/static Version-Release number of selected component (if applicable): openstack-dashboard-2015.1-dev306.fc21.noarch How reproducible: always Steps to Reproduce: 1. Install the above mentioned version from the delorean repo 2. Start httpd 3. Navigate to OpenStack Dashboard page Actual results: Page is shown without CSS Expected results: CSS information is included Additional info:
After some more testing, I have found the reason. The reason seems to be the introduction of the WEBROOT option in the Kilo cycle (with a default value of "/dashboard/"). So we do not need to add the alias, but actually replace the current alias in /etc/httpd/conf.d/openstack-dashboard.conf from: Alias /static /usr/share/openstack-dashboard/static to: Alias /dashboard/static /usr/share/openstack-dashboard/static
That feature is not entirely new, it was just upstreaming a downstream patch. https://review.gerrithub.io/#/c/230170/
http://trunk.rdoproject.org/centos70/d6/82/d6824ae14830362af1412b730256c84a1f7d3067_bc1f0d33/