[python] Different eggs version for fuel-cli and fuel plugin builder

Bug #1430301 reported by Vladimir Sharshov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vladimir Sharshov

Bug Description

Both project which we expect to be installed on master node: fuel cli and fuel plugin builder, use different version of egg

Six:

* https://github.com/stackforge/fuel-plugins/blob/master/fuel_plugin_builder/requirements.txt#L2
* https://github.com/stackforge/python-fuelclient/blob/master/requirements.txt#L6

By default we install fuel cli on master node and nailgun container and get 1.7.0 version of Six. If we try to install also fuel plugin builder, we have got unexpected problem.

For example:

Traceback (most recent call last):
  File "/usr/bin/fuel", line 6, in <module>
    from fuelclient.cli.parser import main
  File "/usr/lib/python2.6/site-packages/fuelclient/cli/parser.py", line 18, in <module>
    from fuelclient.cli.actions import actions
  File "/usr/lib/python2.6/site-packages/fuelclient/cli/actions/__init__.py", line 38, in <module>
    from fuelclient.cli.actions.plugins import PluginAction
  File "/usr/lib/python2.6/site-packages/fuelclient/cli/actions/plugins.py", line 20, in <module>
    from fuelclient.objects.plugins import Plugins
  File "/usr/lib/python2.6/site-packages/fuelclient/objects/plugins.py", line 92, in <module>
    class PluginV1(BasePlugin):
  File "/usr/lib/python2.6/site-packages/fuelclient/objects/plugins.py", line 113, in PluginV1
    def install(cls, plugin_path, force=False):
  File "/usr/lib/python2.6/site-packages/fuelclient/objects/plugins.py", line 99, in deprecated
    @six.wraps(f)
AttributeError: 'module' object has no attribute 'wraps'

Also we should check Jsonschema:

https://github.com/stackforge/fuel-plugins/blob/master/fuel_plugin_builder/requirements.txt#L5

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

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

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

Reviewed: https://review.openstack.org/163392
Committed: https://git.openstack.org/cgit/stackforge/fuel-plugins/commit/?id=96c26128099f9b4c27567c1fd569706ab9ba6d19
Submitter: Jenkins
Branch: master

commit 96c26128099f9b4c27567c1fd569706ab9ba6d19
Author: Vladimir Sharshov (warpc) <email address hidden>
Date: Wed Mar 11 14:52:51 2015 +0300

    Unify different eggs version for fuel-cli and fuel plugin builder

    Change-Id: I277d97fb933613950ef735d4e99e8c8c5bc5f7aa
    Closes-Bug: #1430301

Changed in fuel:
status: In Progress → Fix Committed
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.