Bug 788567 - static content missing
Summary: static content missing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-horizon
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 13:49 UTC by Jan van Eldik
Modified: 2012-03-04 15:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-04 15:00:34 UTC
Type: ---


Attachments (Terms of Use)
patch to display static content (458 bytes, patch)
2012-02-08 13:51 UTC, Jan van Eldik
no flags Details | Diff
screenshot of logo-less login page (17.70 KB, image/png)
2012-02-09 13:56 UTC, Jan van Eldik
no flags Details

Description Jan van Eldik 2012-02-08 13:49:47 UTC
Description of problem:

No static content (CSS, images) displayed.

Version-Release number of selected component (if applicable):

openstack-dashboard-2012.1-0.1.e3

Steps to Reproduce:
1. install RPM
2. point browser to root document
  
Actual results:

Boring login page

Expected results:

Exciting login page, with Openstack logo

Additional info:

Patch for /etc/httpd/conf.d/openstack-dashboard.conf attached

Comment 1 Jan van Eldik 2012-02-08 13:51:11 UTC
Created attachment 560264 [details]
patch to display static content

Comment 2 Cole Robinson 2012-02-09 01:36:39 UTC
I don't see this bug installing the packages on f16 with just yum --enablerepo=rawhide install openstack-dashboard. The splash screen shows the openstack logo as expected.

How are you installing the packages?

Comment 3 Jan van Eldik 2012-02-09 13:55:31 UTC
Hi, on a freshly reinstall Fedora-16 box, I run

  yum install openstack-{glance{,-doc},keystone,dashboard} --enablerepo=rawhide

to get 

  # rpm -qf /etc/httpd/conf.d/openstack-dashboard.conf 
  openstack-dashboard-2012.1-0.1.e3.fc17.noarch
  # cat /etc/httpd/conf.d/openstack-dashboard.conf 
  WSGIDaemonProcess dashboard
  WSGIProcessGroup dashboard
  WSGISocketPrefix run/wsgi

  WSGIScriptAlias / /usr/share/openstack-dashboard/dashboard/wsgi/django.wsgi

  <Directory /usr/share/openstack-dashboard/dashboard/wsgi>
    Order allow,deny
    Allow from all
  </Directory>

with attached logo-less web page, and these entries in /var/log/httpd/error_log

  [Thu Feb 09 12:09:02 2012] [error] DEBUG:dashboard.settings:Running in debug mode without debug_toolbar.
  [Thu Feb 09 12:09:04 2012] [error] [client 128.141.28.37] mod_wsgi (pid=28468): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/dashboard/wsgi/django.wsgi'.
  [Thu Feb 09 12:09:04 2012] [error] [client 128.141.28.37] IOError: failed to write data

and HTTP return codes 500 in access_log:

  128.141.28.37 - - [09/Feb/2012:12:09:03 +0100] "GET /static/dashboard/css/bootstrap.css HTTP/1.1" 500 111002 "http://janpxe02/" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20120105 Firefox/9.0.1"
  128.141.28.37 - - [09/Feb/2012:12:09:03 +0100] "GET /static/dashboard/css/style.css HTTP/1.1" 500 110910 "http://janpxe02/" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20120105 Firefox/9.0.1"
  128.141.28.37 - - [09/Feb/2012:12:09:03 +0100] "GET /favicon.ico HTTP/1.1" 500 15893 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20120105 Firefox/9.0.1"
  128.141.28.37 - - [09/Feb/2012:12:09:04 +0100] "GET /favicon.ico HTTP/1.1" 500 117266 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20120105 Firefox/9.0.1"

Comment 4 Jan van Eldik 2012-02-09 13:56:28 UTC
Created attachment 560591 [details]
screenshot of logo-less login page

Comment 5 Cole Robinson 2012-03-04 15:00:34 UTC
Hmm, for some reason I couldn't reproduce this, until I went to package the essex 4 version! Latest build (well, python-django-horizon-2012.1-0.1.rc1 is building right now) contains your fix, sorry for the delay!


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