nova-compute AttributeError: six 'module' object has no attribute 'add_metaclass'

Bug #1398724 reported by Larry Michel
12
This bug affects 1 person
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/nova-manage", line 6, in <module>
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/python2.7/dist-packages/nova/cmd/manage.py", line 62, in <module>
2014-12-02 03:58:44 INFO install from oslo import messaging
2014-12-02 03:58:44 INFO install File "/usr/lib/python2.7/dist-packages/oslo/messaging/__init__.py", line 18, in <module>
2014-12-02 03:58:44 INFO install from .notify import *
2014-12-02 03:58:44 INFO install File "/usr/lib/python2.7/dist-packages/oslo/messaging/notify/__init__.py", line 22, in <module>
2014-12-02 03:58:44 INFO install from .notifier import *
2014-12-02 03:58:44 INFO install File "/usr/lib/python2.7/dist-packages/oslo/messaging/notify/notifier.py", line 27, in <module>
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/python2.7/dist-packages/oslo/messaging/serializer.py", line 24, in <module>
2014-12-02 03:58:44 INFO install @six.add_metaclass(abc.ABCMeta)
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/nova-compute-132
    exposed: false
    relations:
      compute-peer:
      - nova-compute
    units:
      nova-compute/0:
        agent-state: started
        agent-version: 1.20.13
        machine: '1'
        public-address: signet.oil
      nova-compute/1:
        agent-state: started
        agent-version: 1.20.13
        machine: '2'
        public-address: hayward-19.oil
      nova-compute/2:
        agent-state: error
        agent-state-info: 'hook failed: "install"'
        agent-version: 1.20.13
        machine: '3'
        public-address: pomeroy.oil

Tags: oil
Larry Michel (lmic)
tags: added: oil
Revision history for this message
Liam Young (gnuoy) wrote :

This was fixed at r96 ( 2014-12-17)

Changed in nova-compute (Juju Charms Collection):
status: New → Fix Released
importance: Undecided → High
milestone: none → 15.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.