Dashboard fails on precise due to version of python-six
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-dashboard (Juju Charms Collection) |
Fix Released
|
Critical
|
Liam Young |
Bug Description
The dashboard returns a 500 when installed on precise due to the installed version of python-six being too low.
The installed version of python-six is 1.1.0-2 but after the charm has run 1.5.2-1 is available from the cloud archive. Installing 1.5.2-1 and restarting apache2 solves the problem.
This problem appears to be because the installation of python-six is triggered by the import of charmhelpers which means it is installed before the cloud archive is added as a source. python-six is subsequently not updated.
When a 500 is returned the apache error log shows:
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] mod_wsgi (pid=717): Exception occurred processing WSGI script '/usr/share/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] Traceback (most recent call last):
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] self.load_
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] for middleware_path in settings.
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] self._setup(name)
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] self._wrapped = Settings(
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] mod = importlib.
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] __import__(name)
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/share/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from openstack_dashboard import policy
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/share/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from openstack_auth import utils as auth_utils
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from keystoneclient.v2_0 import client as client_v2
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from keystoneclient.
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from keystoneclient.
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from keystoneclient import access
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] from keystoneclient import service_catalog
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] File "/usr/lib/
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] @six.add_
[Tue Feb 10 19:08:14 2015] [error] [client 10.5.13.191] AttributeError: 'module' object has no attribute 'add_metaclass'
Related branches
- James Page: Approve
-
Diff: 53 lines (+18/-0)2 files modifiedhooks/horizon_hooks.py (+4/-0)
unit_tests/test_horizon_hooks.py (+14/-0)
Changed in openstack-dashboard (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Liam Young (gnuoy) |
Changed in openstack-dashboard (Juju Charms Collection): | |
status: | Confirmed → Fix Released |
milestone: | none → 15.04 |