fuel2 cli tool not working - DistributionNotFound: debtcollector<0.6.0

Bug #1483203 reported by Bartosz Kupidura
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Sebastian Kalinowski

Bug Description

VERSION:
  feature_groups:
    - mirantis
    - advanced
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "154"
  build_id: "2015-08-10_03-11-20"
  nailgun_sha: "58c080206cc17137b124744a40218c89beb6bb28"
  python-fuelclient_sha: "e069d9fde92451ec7f555342951807c5528e96e5"
  fuel-agent_sha: "57145b1d8804389304cd04322ba0fb3dc9d30327"
  fuel-nailgun-agent_sha: "e01693992d7a0304d926b922b43f3b747c35964c"
  astute_sha: "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc"
  fuel-library_sha: "1851b4dff75170dbd63f6e15cde734e348e86d27"
  fuel-ostf_sha: "c7f745431aa3c147f2491c865e029e0ffea91c47"
  fuelmain_sha: "bdca75d0256338519c7eddd8a840ee6ecba7f992"

All reduced-footprint subcommands are not working in fuel2:

[root@fuel ~]# fuel2 node list-vms-conf
DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
Traceback (most recent call last):
  File "/usr/bin/fuel2", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.6/site-packages/fuelclient/cli/error.py", line 98, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/fuelclient/main.py", line 77, in main
    return fuelclient_app.run(argv)
  File "/usr/lib/python2.6/site-packages/cliff/app.py", line 215, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.6/site-packages/cliff/app.py", line 261, in run_subcommand
    subcommand = self.command_manager.find_command(argv)
  File "/usr/lib/python2.6/site-packages/cliff/commandmanager.py", line 73, in find_command
    cmd_factory = cmd_ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2209, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2222, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: debtcollector<0.6.0

Installing fuel2 with pip solves problem:
pip install virtualenv
virtualenv /root/fuelclient_venv
source /root/fuelclient_venv/bin/activate
pip install -U -e "git+https://github.com/stackforge/python-fuelclient#egg=fuelclient"

summary: - fuel2 cli tool not working
+ fuel2 cli tool not working - DistributionNotFound: debtcollector<0.6.0
Changed in fuel:
assignee: nobody → Sebastian Kalinowski (prmtl)
status: New → In Progress
milestone: none → 7.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/211112
Committed: https://git.openstack.org/cgit/stackforge/python-fuelclient/commit/?id=b297cee0c54b4ff787ca0ac518a54348b838d342
Submitter: Jenkins
Branch: master

commit b297cee0c54b4ff787ca0ac518a54348b838d342
Author: Sebastian Kalinowski <email address hidden>
Date: Mon Aug 10 13:34:13 2015 +0200

    Align requirements to Kilo's global requirements

    To prevent some of the bugs that we have due to
    conflicts in requirements, upper versions from Kilo's
    global requirements were used.
    RPM spec was also updated.

    Change-Id: I37253e700bd6c7c1b409f20f4c422056eac2bf13
    Closes-Bug: #1483203

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Alexander Arzhanov (aarzhanov) wrote :

Verified on ISO #163:

api: '1.0'
astute_sha: e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc
auth_required: true
build_id: 2015-08-12_09-40-51
build_number: '163'
feature_groups:
- mirantis
fuel-agent_sha: 57145b1d8804389304cd04322ba0fb3dc9d30327
fuel-library_sha: 22f848670e49d89fc04aaed4d8efd1b07360cbe7
fuel-nailgun-agent_sha: e01693992d7a0304d926b922b43f3b747c35964c
fuel-ostf_sha: c7f745431aa3c147f2491c865e029e0ffea91c47
fuelmain_sha: af2d875a47c5d08bb62943bed5ef1ae7d7ea3329
nailgun_sha: 1af2c56136c72c19ed61d56599c5a63fd6d60b10
openstack_version: 2015.1.0-7.0
production: docker
python-fuelclient_sha: b297cee0c54b4ff787ca0ac518a54348b838d342
release: '7.0'
release_versions:
  2015.1.0-7.0:
    VERSION:
      api: '1.0'
      astute_sha: e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc
      build_id: 2015-08-12_09-40-51
      build_number: '163'
      feature_groups:
      - mirantis
      fuel-agent_sha: 57145b1d8804389304cd04322ba0fb3dc9d30327
      fuel-library_sha: 22f848670e49d89fc04aaed4d8efd1b07360cbe7
      fuel-nailgun-agent_sha: e01693992d7a0304d926b922b43f3b747c35964c
      fuel-ostf_sha: c7f745431aa3c147f2491c865e029e0ffea91c47
      fuelmain_sha: af2d875a47c5d08bb62943bed5ef1ae7d7ea3329
      nailgun_sha: 1af2c56136c72c19ed61d56599c5a63fd6d60b10
      openstack_version: 2015.1.0-7.0
      production: docker
      python-fuelclient_sha: b297cee0c54b4ff787ca0ac518a54348b838d342
      release: '7.0'

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.