Hello, Currently the Horizon dashboard generates a bad path into the CSS for the FontAwesome loading. <code> grep -nri "src: url('/dashboard/static/horizon/lib/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');" /usr/share/openstack-dashboard/ /usr/share/openstack-dashboard/static/dashboard/css/bff190210710.css:7948: src: url('/dashboard/static/horizon/lib/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0'); </code> Removing /dashboard into the CSS make it load correctly. OpenStack dashboard is launched via Apache 2.4 WSGI with an Alias for the /static directory as the documentation states. OpenStack dashboard is accessible via the / of the VirtualHost, not /dashboard. Version-Release number of selected component (if applicable): openstack-dashboard-2015.1.1-1.el7 Regards,
Actually, the workaround might work by coincidence; I'm not sure, where this went wrong, but it looks like an ignored WEBROOT setting somewhere in the code.
Hello Matthias, I eventually found the problematic piece of code. To begin with, the root cause is in > /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/scss/_variables.scss A variable named $webroot is hardcoded with "/dashboard" value at the beginning. It's later used for FontAwesome loading in this way > $fa-font-path: $webroot + "/static/horizon/lib/font-awesome/fonts"; I tried two fixes > - set $webroot to "" (null) : it brakes the login of Horizon - leave $webroot and remove the concatenation for $fa-font-path : works Hoping that it can improve the code. See you, Regards
And just for the sake of clarity, upstream code set $webroot with "". It's completely rewritten into Liberty though. https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/static/dashboard/scss/_variables.scss Regards,
there has been quite a change and a HUGE backport to kilo. I believe this issue is fixed now.