How to reproduce:
# apt-get update
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt-get install openstack-dashboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openstack-dashboard-ubuntu-theme python-appconf python-cloudfiles python-compressor python-django python-django-horizon python-openstack-auth
Suggested packages:
python-psycopg2 python-psycopg python-flup python-sqlite geoip-database-contrib
The following NEW packages will be installed:
openstack-dashboard openstack-dashboard-ubuntu-theme python-appconf python-cloudfiles python-compressor python-django python-django-horizon python-openstack-auth
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.6 kB/6,567 kB of archives.
After this operation, 49.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main python-cloudfiles all 1.7.9.2-1 [20.6 kB]
Fetched 20.6 kB in 0s (49.6 kB/s)
Selecting previously unselected package python-cloudfiles.
(Reading database ... 388427 files and directories currently installed.)
Unpacking python-cloudfiles (from .../python-cloudfiles_1.7.9.2-1_all.deb) ...
Selecting previously unselected package python-django.
Unpacking python-django (from .../python-django_1.4.1-2~cloud0_all.deb) ...
Selecting previously unselected package python-appconf.
Unpacking python-appconf (from .../python-appconf_0.5-0ubuntu2~cloud0_all.deb) ...
Selecting previously unselected package python-compressor.
Unpacking python-compressor (from .../python-compressor_1.1.2-0ubuntu5~cloud0_all.deb) ...
Selecting previously unselected package python-openstack-auth.
Unpacking python-openstack-auth (from .../python-openstack-auth_1.0.1-0ubuntu6~precise_all.deb) ...
Selecting previously unselected package python-django-horizon.
Unpacking python-django-horizon (from .../python-django-horizon_2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1_all.deb) ...
Selecting previously unselected package openstack-dashboard.
Unpacking openstack-dashboard (from .../openstack-dashboard_2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1_all.deb) ...
Selecting previously unselected package openstack-dashboard-ubuntu-theme.
Unpacking openstack-dashboard-ubuntu-theme (from .../openstack-dashboard-ubuntu-theme_2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up python-cloudfiles (1.7.9.2-1) ...
Setting up python-django (1.4.1-2~cloud0) ...
Setting up python-appconf (0.5-0ubuntu2~cloud0) ...
Setting up python-compressor (1.1.2-0ubuntu5~cloud0) ...
Setting up python-openstack-auth (1.0.1-0ubuntu6~precise) ...
Setting up python-django-horizon (2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1) ...
Setting up openstack-dashboard (2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1) ...
* Reloading web server config apache2 [ OK ]
Setting up openstack-dashboard-ubuntu-theme (2013.1.a113.g7d13abc+git201302200401~precise-0ubuntu1) ...
* Reloading web server config apache2 [ OK ]
When I trying load on broweser I'm getting 500 with error:
[Mon Feb 25 10:06:49 2013] [error] [client x.y.z.w] raise OfflineGenerationError('You have offline compression enabled but key "%s" is missing from offline manifest. You may need to run "python manage.py compress".' % key)
[Mon Feb 25 10:06:49 2013] [error] [client x.y.z.w] OfflineGenerationError: You have offline compression enabled but key "f73af4bb410b7899592afadd8af2bf16" is missing from offline manifest. You may need to run "python manage.py compress"
# cd /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).
Now I can log in but Firebug showing to me "SyntaxError: invalid increment operand" error.
I'm using thiese repos: ppa.launchpad. net/openstack- ubuntu- testing/ grizzly- build-depends/ ubuntu precise main ppa.launchpad. net/openstack- ubuntu- testing/ grizzly- build-depends/ ubuntu precise main ppa.launchpad. net/openstack- ubuntu- testing/ grizzly- trunk-testing/ ubuntu precise main ppa.launchpad. net/openstack- ubuntu- testing/ grizzly- trunk-testing/ ubuntu precise main
deb http://
deb-src http://
deb http://
deb-src http://
How to reproduce: dashboard- ubuntu- theme python-appconf python-cloudfiles python-compressor python-django python- django- horizon python- openstack- auth contrib dashboard openstack- dashboard- ubuntu- theme python-appconf python-cloudfiles python-compressor python-django python- django- horizon python- openstack- auth us.archive. ubuntu. com/ubuntu/ precise/main python-cloudfiles all 1.7.9.2-1 [20.6 kB] cloudfiles_ 1.7.9.2- 1_all.deb) ... django_ 1.4.1-2~ cloud0_ all.deb) ... appconf_ 0.5-0ubuntu2~ cloud0_ all.deb) ... compressor_ 1.1.2-0ubuntu5~ cloud0_ all.deb) ... openstack- auth. openstack- auth (from .../python- openstack- auth_1. 0.1-0ubuntu6~ precise_ all.deb) ... django- horizon. django- horizon (from .../python- django- horizon_ 2013.1. a113.g7d13abc+ git201302200401 ~precise- 0ubuntu1_ all.deb) ... dashboard. dashboard_ 2013.1. a113.g7d13abc+ git201302200401 ~precise- 0ubuntu1_ all.deb) ... dashboard- ubuntu- theme. dashboard- ubuntu- theme (from .../openstack- dashboard- ubuntu- theme_2013. 1.a113. g7d13abc+ git201302200401 ~precise- 0ubuntu1_ all.deb) ... cloud0) ... 0ubuntu5~ cloud0) ... openstack- auth (1.0.1- 0ubuntu6~ precise) ... django- horizon (2013.1. a113.g7d13abc+ git201302200401 ~precise- 0ubuntu1) ... a113.g7d13abc+ git201302200401 ~precise- 0ubuntu1) ... dashboard- ubuntu- theme (2013.1. a113.g7d13abc+ git201302200401 ~precise- 0ubuntu1) ...
# apt-get update
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt-get install openstack-dashboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openstack-
Suggested packages:
python-psycopg2 python-psycopg python-flup python-sqlite geoip-database-
The following NEW packages will be installed:
openstack-
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.6 kB/6,567 kB of archives.
After this operation, 49.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 20.6 kB in 0s (49.6 kB/s)
Selecting previously unselected package python-cloudfiles.
(Reading database ... 388427 files and directories currently installed.)
Unpacking python-cloudfiles (from .../python-
Selecting previously unselected package python-django.
Unpacking python-django (from .../python-
Selecting previously unselected package python-appconf.
Unpacking python-appconf (from .../python-
Selecting previously unselected package python-compressor.
Unpacking python-compressor (from .../python-
Selecting previously unselected package python-
Unpacking python-
Selecting previously unselected package python-
Unpacking python-
Selecting previously unselected package openstack-
Unpacking openstack-dashboard (from .../openstack-
Selecting previously unselected package openstack-
Unpacking openstack-
Processing triggers for man-db ...
Setting up python-cloudfiles (1.7.9.2-1) ...
Setting up python-django (1.4.1-2~cloud0) ...
Setting up python-appconf (0.5-0ubuntu2~
Setting up python-compressor (1.1.2-
Setting up python-
Setting up python-
Setting up openstack-dashboard (2013.1.
* Reloading web server config apache2 [ OK ]
Setting up openstack-
* Reloading web server config apache2 [ OK ]
When I trying load on broweser I'm getting 500 with error: onError( 'You have offline compression enabled but key "%s" is missing from offline manifest. You may need to run "python manage.py compress".' % key) onError: You have offline compression enabled but key "f73af4bb410b78 99592afadd8af2b f16" is missing from offline manifest. You may need to run "python manage.py compress"
[Mon Feb 25 10:06:49 2013] [error] [client x.y.z.w] raise OfflineGenerati
[Mon Feb 25 10:06:49 2013] [error] [client x.y.z.w] OfflineGenerati
# cd /usr/share/ openstack- dashboard openstack- dashboard/ openstack_ dashboard/ templates/ _stylesheets. html python2. 7/dist- packages/ horizon/ templates/ horizon/ _conf.html python2. 7/dist- packages/ horizon/ templates/ horizon/ _scripts. html
# python manage.py compress
Found 'compress' tags in:
/usr/share/
/usr/lib/
/usr/lib/
Compressing... done
Compressed 3 block(s) from 3 template(s).
Now I can log in but Firebug showing to me "SyntaxError: invalid increment operand" error.
# cat /etc/openstack- dashboard/ local_settings. py | grep -v '^\s*#' | grep -v '^$' utils.translati on import ugettext_lazy as _ dashboard' : 'project', dashboard. views.get_ user_home' , queue_limit' : 10, docs.openstack. org", RECOVERABLE,
'not_ found': exceptions. NOT_FOUND,
'unauthori zed': exceptions. UNAUTHORIZED} , dirname( os.path. abspath( __file_ _)) //127.0. 0.1:11211' core.mail. backends. console. EmailBackend' '/horizon/ auth/login/ ' URL='/horizon' KEYSTONE_ URL = "http:// %s:5000/ v2.0" % OPENSTACK_HOST KEYSTONE_ DEFAULT_ ROLE = "Member" KEYSTONE_ BACKEND = { edit_user' : True, edit_project' : True HYPERVISOR_ FEATURES = { set_mount_ point': True, encrypt_ volumes' : False PAGE_SIZE = 20
'disable_ existing_ loggers' : False,
'level' : 'DEBUG',
'class' : 'django. utils.log. NullHandler' ,
'console' : {
'level' : 'INFO',
'class' : 'logging. StreamHandler' ,
'django. db.backends' : {
'handlers' : ['null'],
'propagate' : False,
'horizon' : {
'handlers' : ['console'],
'propagate' : False,
'openstack _dashboard' : {
'handlers' : ['console'],
'propagate' : False,
'novaclien t': {
'handlers' : ['console'],
'propagate' : False,
'keystonec lient': {
'handlers' : ['console'],
'propagate' : False,
'glancecli ent': {
'handlers' : ['console'],
'propagate' : False,
'nose. plugins. manager' : {
'handlers' : ['console'],
'propagate' : False,
import os
from django.
from openstack_dashboard import exceptions
DEBUG = False
TEMPLATE_DEBUG = DEBUG
HORIZON_CONFIG = {
'dashboards': ('project', 'admin', 'settings',),
'default_
'user_home': 'openstack_
'ajax_
'help_url': "http://
'exceptions': {'recoverable': exceptions.
}
LOCAL_PATH = os.path.
CACHE_BACKEND = 'memcached:
EMAIL_BACKEND = 'django.
try:
from ubuntu_theme import *
except ImportError:
pass
LOGIN_URL=
LOGIN_REDIRECT_
COMPRESS_OFFLINE = True
OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_
OPENSTACK_
OPENSTACK_
'name': 'native',
'can_
'can_
}
OPENSTACK_
'can_
'can_
}
API_RESULT_LIMIT = 1000
API_RESULT_
TIME_ZONE = "UTC"
LOGGING = {
'version': 1,
'handlers': {
'null': {
},
},
},
'loggers': {
},
},
},
},
},
},
}
}
}