nova-compute AttributeError: six 'module' object has no attribute 'add_metaclass'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned |
Bug Description
When deploying OpenStack with icehouse and precise with next branches, seeing this hook install failure.
I have seen this error python-six having a version below 1.4.
2014-12-02 03:58:43 INFO install Adding system user `nova' (UID 110) ...
2014-12-02 03:58:43 INFO install Adding new user `nova' (UID 110) with group `nova' ...
2014-12-02 03:58:43 INFO install Not creating home directory `/var/lib/nova'.
2014-12-02 03:58:43 INFO install usermod: no changes
2014-12-02 03:58:44 INFO install Traceback (most recent call last):
2014-12-02 03:58:44 INFO install File "/usr/bin/
2014-12-02 03:58:44 INFO install from nova.cmd.manage import main
2014-12-02 03:58:44 INFO install File "/usr/lib/
2014-12-02 03:58:44 INFO install from oslo import messaging
2014-12-02 03:58:44 INFO install File "/usr/lib/
2014-12-02 03:58:44 INFO install from .notify import *
2014-12-02 03:58:44 INFO install File "/usr/lib/
2014-12-02 03:58:44 INFO install from .notifier import *
2014-12-02 03:58:44 INFO install File "/usr/lib/
2014-12-02 03:58:44 INFO install from oslo.messaging import serializer as msg_serializer
2014-12-02 03:58:44 INFO install File "/usr/lib/
2014-12-02 03:58:44 INFO install @six.add_
2014-12-02 03:58:44 INFO install AttributeError: 'module' object has no attribute 'add_metaclass'
2014-12-02 03:58:44 INFO install dpkg: error processing nova-common (--configure):
2014-12-02 03:58:44 INFO install subprocess installed post-installation script returned error exit status 1
This results in hook failed install error:
nova-compute:
charm: local:precise/
exposed: false
relations:
compute-peer:
- nova-compute
units:
nova-
machine: '1'
nova-
machine: '2'
nova-
machine: '3'
This was fixed at r96 ( 2014-12-17)