RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1332457 - Unable to start horizon (mitaka)
Summary: Unable to start horizon (mitaka)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RDO
Classification: Community
Component: openstack-horizon
Version: unspecified
Hardware: noarch
OS: Linux
unspecified
high
Target Milestone: ---
: Kilo
Assignee: Itxaka
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-03 09:03 UTC by Martin Millnert
Modified: 2016-07-13 22:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-03 09:45:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Millnert 2016-05-03 09:03:53 UTC
Description of problem:
Consistently getting the following errors in /var/log/horizon/horizon.log on a fresh VM running only openstack-dashboard from Mitaka repository in our deployment:
2016-05-03 08:46:40,423 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,807 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,810 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:43,063 16863 ERROR scss.compiler Mixin not found: dropdown-arrow:0 (themes/default/bootstrap/components/_dropdowns.scss:63 (themes/default/bootstrap/components/_dropdowns.scss:44))

We're using a local_settings carried over from Liberty. But also removing local_settings completely results in the above.

Version-Release number of selected component (if applicable):
openstack-dashboard-9.0.0-1.el7

How reproducible:
Permanently

Steps to Reproduce:
1. Install openstack-dashboard on empty VM
2. Rename /etc/openstack-dashboard/local_settings to something else
3. systemctl start httpd

Actual results:
"systemctl start httpd" fails.
Get the following errors in /var/log/horizon/horizon.log:
2016-05-03 08:46:40,423 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,807 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,809 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:40,810 16863 ERROR scss.ast Function not found: twbs-font-path:1
2016-05-03 08:46:43,063 16863 ERROR scss.compiler Mixin not found: dropdown-arrow:0 (themes/default/bootstrap/components/_dropdowns.scss:63 (themes/default/bootstrap/components/_dropdowns.scss:44))

These in turn appears to fail the httpd start completely, as it doesn't come up and logs:
May 03 10:46:44 openstack-dev-horizon3.srv.lab.cloud.ipnett.se systemd[1]: httpd.service: control process exited, code=exited status=1
May 03 10:46:44 openstack-dev-horizon3.srv.lab.cloud.ipnett.se systemd[1]: Failed to start The Apache HTTP Server.
May 03 10:46:44 openstack-dev-horizon3.srv.lab.cloud.ipnett.se systemd[1]: Unit httpd.service entered failed state.
May 03 10:46:44 openstack-dev-horizon3.srv.lab.cloud.ipnett.se systemd[1]: httpd.service failed.


Expected results:
Expect "systemctl start httpd" to succeed.
Without a local_settings file, do not expect horizon to start as it is not configured against anything -- however, do expect the SCSS compilations to succeed regardless of the local_settings.

Additional info:

Comment 1 Matthias Runge 2016-05-03 09:45:30 UTC
as trouble-shooted on IRC, this was a different issue. If it still happens, please feel free to re-open.


Note You need to log in before you can comment on or make changes to this bug.