Bug 1219006
| Summary: | Wrong permissions for directory /usr/share/openstack-dashboard/static/dashboard/ | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Christian Berendt <berendt> |
| Component: | python-django-horizon | Assignee: | Javier Peña <jpena> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ido Ovadia <iovadia> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Kilo | CC: | aortega, apevec, apevec, athomas, derekh, itbrown, jpena, jtaleric, mrunge, yeylon |
| Target Milestone: | --- | ||
| Target Release: | Kilo | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-django-horizon-2015.1.0-5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-06 12:06:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christian Berendt
2015-05-06 12:01:03 UTC
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 || : in kilo/testing repo Tested. Works for me. Thanks. |