First, it looks like the traceback in the original report is using a different configuration than the default we ship. We ship with COMPRESS_OFFLINE = True, but by the looks of the traceback it was enabled. Would be interested in the configs used there.
That said, the default saucy package we're shipping atm is definitely broken. The ubuntu theme, however, is not culprit. It is "good" although the theme itself could use a general refresh for Havana. Installing it currently requires working around Bug #1218535 and Bug #1216019. After installed and enabled and making the minimal config in /etc /openstack-dashboard/local_settings.py to point to my keystone server, the dashboard is expected to function. However, I get a 500 and compression exception in apache error log: OfflineGenerationError: You have offline compression enabled but key "3ddd89d27fa2e162d4efd30c103a072b" is missing from offline manifest. You may need to run "python manage.py compress". This would typically mean the pre-compressed JS and CSS we ship with the package are outdated but in this case django.core.base:BaseHandler is catching and masking a SuspiciousOperation exception (Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS) and continuing to process the request. As far as I can tell (as a django novice), this is causing templates to later be rendered with empty/incomplete contexts that lack STATIC_URL, and messing with the hashing algorithm used by compressor to map requested URLs to the compressed files, which results in the OfflineGenerationError / key error. As a work around in the meantime, adding ALLOWED_HOSTS = '*' to /etc /openstack-dashboard/local_settings.py should resolve it. We either need to find a sane default for ALLOWED_HOSTS or help fix horizon so such errors cause fast failures. ** Summary changed: - Ubuntu theme in Havana is broken + STATIC_URL is missing in context if ALLOWED_HOSTS not set. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1214982 Title: STATIC_URL is missing in context if ALLOWED_HOSTS not set. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1214982/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
