After the initial installation with Packstack using the Kilo repository it is not possible to access the Horizon dashboard. [Errno 13] Permission denied: '/usr/share/openstack-dashboard/static/dashboard/css/c202c9c6ad28.css'
Manually restarting the httpd service solves the issue.
*** This bug has been marked as a duplicate of bug 1150678 ***
Repro steps: * base OS installed with https://github.com/boxcutter/centos/blob/master /http/ks7.cfg * packstack multi node environment TODO get packstack answer file
> * packstack multi node environment TODO get packstack answer file http://paste.openstack.org/show/215445/
I was able to reproduce. After installation with packstack failed because of missing RPMs I reinstalled and the problem happens again. After restarting httpd - the dashboard looks fine. Checked with version openstack-dashboard-2015.1-0rc2.el7.centos.noarch
I hit something similar to this. The webpage would display but all stylesheets were not being displayed, so it looked very bad. systemctl restart httpd fixed the stylesheet issue for me.
this seems to happen on multi node environments (not sure about all-in-one environments) - on rhel and on centos - httpd shared with keystone and not shared - when packstack was run once and twice (in case of an error occurring)
I can confirm this. For me the issue only occurs on a multi machine environment.
I have also reproduced it, and I think I have found the reason. httpd is restarted by packstack after setting up Horizon, however "systemd daemon-reload" has not been executed, so the additional systemd file included by openstack-dashboard is not applied there. Checking /var/log/messages from my test system, I see daemon-reload is executed later, so any subsequent httpd service restart will create the required files. I propose to add the following line to the %post scriptlet in openstack-dashboard: systemctl daemon-reload >/dev/null 2>&1 || :
https://review.gerrithub.io/232703
in kilo/testing repo
Tested. Works for me. Thanks.