Typing "openstack help" shows a problem in entry point loading

Bug #1503736 reported by Thomas Goirand on 2015-10-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Here's what I experienced:

# openstack help
[ ... ]
  object show Display object details
  project create Create new project
  project delete Delete project(s)
  project list List projects
  project set Set project properties
  project show Display project details
Could not load EntryPoint.parse('ptr_record_list = designateclient.v2.cli.reverse:ListFloatingIPCommand')
'ArgumentParser' object has no attribute 'debug'

then the rest of the help doesn't show. FYI, here's what I have installed on my server (with non-openstack stuff removed):

# dpkg -l 'python-*client'
ii python-barbicanclient 3.3.0-2~bpo8+1
ii python-ceilometerclient 1.5.0-1~bpo8+1
ii python-cinderclient 1:1.4.0-2~bpo8+1
ii python-designateclient 1.5.0-1~bpo8+1
ii python-glanceclient 1:1.1.0-1~bpo8+1
ii python-heatclient 0.8.0-1~bpo8+1
ii python-keystoneclient 1:1.6.0-2~bpo8+1
ii python-magnumclient 0.2.1-1~bpo8+1
ii python-manilaclient 1.4.0-2~bpo8+1
ii python-mistralclient 1:1.1.0-2~bpo8+1
ii python-neutronclient 1:3.1.0-1~bpo8+1
ii python-novaclient 2:2.30.0-1~bpo8+1
ii python-openstackclient 1.7.1-1~bpo8+1
ii python-saharaclient 0.11.1-1~bpo8+1
ii python-swiftclient 1:2.6.0-2~bpo8+1
ii python-troveclient 1:1.3.0-1~bpo8+1
ii python-zaqarclient 0.2.0-1~bpo8+1

Changed in python-designateclient:
assignee: nobody → Jaiveek Shah (jaiveek-shah)
Graham Hayes (grahamhayes) wrote :

plain jessie box with just

  apt-get install python-openstackclient python-designateclient

  ii python-cinderclient 1:1.4.0-2~bpo8+1
  ii python-designateclient 1.5.0-1~bpo8+1
  ii python-glanceclient 1:1.1.0-1~bpo8+1
  ii python-keystoneclient 1:1.6.0-2~bpo8+1
  ii python-neutronclient 1:3.1.0-1~bpo8+1
  ii python-novaclient 2:2.30.1-2~bpo8+1
  ii python-openstackclient 1.7.1-1~bpo8+1

and none of the designate openstack commands are working.

also -

designateclient itself is having issues ...

  Could not load EntryPoint.parse('domain-servers-list = designateclient.cli.domains:ListDomainServersCommand') (repeats for all the commands)

Changed in python-designateclient:
status: New → Triaged
Changed in python-designateclient:
assignee: Jaiveek Shah (jaiveek-shah) → nobody
Thomas Goirand (thomas-goirand) wrote :

Hi. Sorry for the loss of time here. I've found out it was a packaging issue. The issue was with jsonschema which uses vcversioner which does some really stupid things with its version system, and produced an egg-info with version 2.dev5 instead of 2.5.1 as expected. As a result, designateclient was crashing with a stack dump. Fixing the python-jsonschema egg-info in the package solved the problem completely.

Anyway, this shows a higher issue: openstackclient should be able to handle any kind of problem in python-*client which is using it, and handle this type of problem gracefully (with some warning / error messages).

Changed in python-designateclient:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers