fakeui service failed with AttributeError: 'module' object has no attribute 'add_metaclass'

Bug #1366728 reported by Aleksandra Fedorova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sebastian Kalinowski
6.0.x
Fix Committed
High
Sebastian Kalinowski

Bug Description

Service installed by fakeui scripts (http://jenkins-product.srt.mirantis.net:8080/view/devops/job/fuelweb_fakeui/11886/console) fails.

From /var/log/nailgun.log:

2014-09-08 13:06:25.052 ERROR [7f8010ef4700] (settings) Error while reading config file /etc/nailgun/settings.yaml: [Errno 2] No such file or directory: '/etc/nailgun/settings.yaml'
Traceback (most recent call last):
  File "manage.py", line 269, in <module>
    action(params) if action else parser.print_help()
  File "manage.py", line 245, in action_run
    from nailgun.app import appstart
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/app.py", line 31, in <module>
    from nailgun.middleware.keystone import NailgunFakeKeystoneAuthMiddleware
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/middleware/keystone.py", line 19, in <module>
    from nailgun.api.v1 import urls as api_urls
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/api/v1/urls.py", line 22, in <module>
    from nailgun.api.v1.handlers.capacity import CapacityLogCsvHandler
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/api/v1/handlers/capacity.py", line 29, in <module>
    from nailgun.task.manager import GenerateCapacityLogTaskManager
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/task/manager.py", line 36, in <module>
    from nailgun.task import task as tasks
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/task/task.py", line 39, in <module>
    from nailgun.orchestrator import deployment_serializers
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/orchestrator/deployment_serializers.py", line 39, in <module>
    from nailgun.orchestrator import priority_serializers as ps
  File "/home/jenkins/workspace/fuelweb_fakeui/build/repos/nailgun/nailgun/nailgun/orchestrator/priority_serializers.py", line 74, in <module>
    @six.add_metaclass(abc.ABCMeta)
AttributeError: 'module' object has no attribute 'add_metaclass'

Tags: devops fakeui
description: updated
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.1
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Sebastian Kalinowski (prmtl)
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119729

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119730

Revision history for this message
Evgeniy L (rustyrobot) wrote :

Reduce the priority, because Aleksandra fixed the problem manually on the node where fakeui was running, but we need the fix anyway.

Changed in fuel:
importance: Critical → High
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :

wont fix for 5.1 after HCF

Changed in fuel:
status: In Progress → Won't Fix
Changed in fuel:
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/119730
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=242453f99f55f5fb2c348d1cadf0c46da217d788
Submitter: Jenkins
Branch: master

commit 242453f99f55f5fb2c348d1cadf0c46da217d788
Author: Sebastian Kalinowski <email address hidden>
Date: Mon Sep 8 12:50:09 2014 +0200

    Add missing 'six' dependency to nailgun

    Due to the missing entry for 'six' in requirements.txt for nailgun
    in some cases old version of six was used (from other packages) which
    was causes issues with missing features in older version of six.

    Now this dependency has been added.

    Change-Id: Ib44dbd02e6d775ca269460d836d9a2c354513e3b
    Closes-Bug: #1366728

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/119729
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=750515b3944db292e7b2336701d8d6caa41c34a2
Submitter: Jenkins
Branch: master

commit 750515b3944db292e7b2336701d8d6caa41c34a2
Author: Sebastian Kalinowski <email address hidden>
Date: Mon Sep 8 12:59:42 2014 +0200

    Add 'python-six' dependency to nailgun package

    Nailgun package had missing requirement for 'python-six' which was
    causing usage of 'python-six' package in version that do not have
    all required features.

    Change-Id: Ieb9b18923fd6d797da09044c6a48f9228b64e910
    Closes-Bug: #1366728

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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