← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1181150] Re: Dashboard GUI down (HTTP 500 error) on upgrade from folsom to grizzly

 

** Changed in: ubuntu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1181150

Title:
  Dashboard GUI down (HTTP 500 error) on upgrade from folsom to grizzly

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in Ubuntu:
  Invalid

Bug description:
  I just installed grizzly release of openstack (upgraded from folsom)
  and now my Openstack dashboard/GUI has gone down. I see bellow error
  in log:

  [Fri May 17 09:09:56 2013] [error] [client 172.21.21.14]     'You may need to run "python manage.py compress".' % key), referer: http://10.43.2.10/horizon
  [Fri May 17 09:09:56 2013] [error] [client 172.21.21.14] OfflineGenerationError: You have offline compression enabled but key "3ddd89d27fa2e162d4efd30c103a072b" is missing from offline manifest. You may need to run "python manage.py compress"., referer: http://10.43.2.10/horizon

  Tried steps from this: https://bugs.launchpad.net/horizon/+bug/1036571

  Also tried this:
  root@network1:/usr/share/openstack-dashboard# python manage.py compress
  Found 'compress' tags in:
  /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
  /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
  /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
  Compressing... done
  Compressed 3 block(s) from 3 template(s).

  And also tried setting COMPRESS_ENABLED and COMPRESS_OFFLINE to False
  but no luck. On setting them False, I see different error in log:

  [Fri May 17 09:07:10 2013] [error] [client 172.21.21.14]
  UncompressableFileError: 'horizon/js/horizon.js' isn't accessible via
  COMPRESS_URL ('/static/') and can't be compressed

  
  Some other info, if helps:
  root@network1:/usr/share/openstack-dashboard# cat /etc/apache2/conf.d/openstack-dashboard.conf
  WSGIScriptAlias /horizon /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
  WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
  Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static
  <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
    Order allow,deny
    Allow from all
  </Directory>

  root@network1:/usr/share/openstack-dashboard# ls -l /usr/share/openstack-dashboard/openstack_dashboard/static
  total 8
  drwxr-xr-x 4 www-data www-data 4096 May 17 14:08 bootstrap
  drwxr-xr-x 7 www-data www-data 4096 May 17 14:48 dashboard
  lrwxrwxrwx 1 www-data www-data   40 Apr 25 14:30 horizon -> ../../../pyshared/horizon/static/horizon
  lrwxrwxrwx 1 www-data www-data   57 May 17 14:15 static -> /usr/share/openstack-dashboard/openstack_dashboard/static
  lrwxrwxrwx 1 www-data www-data   55 Apr 25 14:30 ubuntu -> ../../../openstack-dashboard-ubuntu-theme/static/ubuntu

  Pl help as my setup has gone down after upgrade (as there's no GUI up
  though other things are working). I tried searching around (there
  seems to be couple bugs around this) but nothing helped so far.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1181150/+subscriptions