Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1163206

Summary: bootstrap issues, missing files glyphicons-halflings.png, font-awesome/fonts/fontawesome-webfont.woff
Product: Red Hat OpenStack Reporter: Matthias Runge <mrunge>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: aberezin, ajeain, aortega, iovadia, jpichon, mrunge, rhamilto, sclewis, yeylon
Target Milestone: betaKeywords: Triaged
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-2014.2-5.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 14:56:27 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 Matthias Runge 2014-11-12 13:29:14 UTC
/var/log/httpd/horizon_access.log contains 404 errors:

::1 - - [11/Nov/2014:12:47:20 +0100] "GET /static/bootstrap/img/glyphicons-halflings.png HTTP/1.1" 404 243 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
::1 - - [11/Nov/2014:12:47:24 +0100] "GET /static/horizon/lib/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 404 260 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
::1 - - [11/Nov/2014:12:47:26 +0100] "GET /static/horizon/lib/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 404 260 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
::1 - - [11/Nov/2014:12:47:28 +0100] "GET /static/horizon/lib/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 404 260 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
::1 - - [11/Nov/2014:12:47:59 +0100] "GET /static/bootstrap/img/glyphicons-halflings.png HTTP/1.1" 404 243 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
::1 - - [11/Nov/2014:12:48:02 +0100] "GET /static/horizon/lib/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.1" 404 260 "http://localhost/static/dashboard/css/8f251dce4932.css" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"

Comment 2 Matthias Runge 2014-11-13 15:32:54 UTC
This only happens with RCUE installed, so it must be related.

Comment 3 Matthias Runge 2014-11-25 09:50:00 UTC
Robb, for this issue, I ended up with the following patch

https://github.com/redhat-openstack/horizon/commit/234c3fe4416eef66716a5324d9273d62ac99e6cf

Does this make any sense for you?

I built a package: https://copr.fedoraproject.org/coprs/jruzicka/rdo-juno-epel-7/build/61148/
 for testing purposes, but I'm not 100% sure, I don't break any layout or icons here. Could you have a look?

Comment 4 Robb Hamilton 2014-11-25 15:20:22 UTC
Matthias, is there an environment where I can see this installed?  I've given up trying to get this stuff installed.  Julie had helped me last time by pointing me at an environment that was already setup.

Comment 5 Matthias Runge 2014-11-25 17:55:33 UTC
Robb, yes, sorry!

Actually, I wanted to provide you an environment to test. Sadly, I'm lacking a build here. 

Given your PTO and holiday during the next days, we'll defer this to next week.

Comment 7 Matthias Runge 2014-11-26 08:50:38 UTC
How to test:
============

Before this fix, lots of 404 errors showed up in horizon-access.log in /var/log/httpd/horizon_access.log. These should be gone now.

Comment 8 Julie Pichon 2014-12-04 11:40:21 UTC
I first tried the RDO packages mentioned in comment 3 and noticed issues with the drop-down arrows (same to the ones mentioned from bug 1170039). I tried with recent RHOS packages as well and noticed the same thing. Robb, perhaps you can confirm if this is related to font-awesome missing, or something else?

This is an environment initially set up with RDO and packstack, and I only updated the packages related to horizon (+ httpd restart) to test this. I also tried removing these packages and reinstalling them from scratch.

Comment 10 Julie Pichon 2014-12-04 12:41:03 UTC
Installing the fontawesome-fonts package locally resolved the issue, so this is definitely related to the patch for this bug. I think we should revert it for now.

Comment 11 Robb Hamilton 2014-12-04 14:24:31 UTC
(In reply to Julie Pichon from comment #8)
> I first tried the RDO packages mentioned in comment 3 and noticed issues
> with the drop-down arrows (same to the ones mentioned from bug 1170039). I
> tried with recent RHOS packages as well and noticed the same thing. Robb,
> perhaps you can confirm if this is related to font-awesome missing, or
> something else?

Confirmed.  Yes, this bug is the result of Font-Awesome being missing.

Comment 13 Ido Ovadia 2014-12-08 12:01:52 UTC
Verified
========
python-django-horizon-2014.2-5.el7ost.noarch

Comment 15 errata-xmlrpc 2015-02-09 14:56:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-0154.html