running the command openstack help fails

Bug #1504290 reported by Amrith Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

https://gist.github.com/amrith/955ee2b8e5cae9917666

Commands:
  aggregate add host Add host to aggregate
  aggregate create Create a new aggregate
  aggregate delete Delete an existing aggregate
  aggregate list List all aggregates
  aggregate remove host Remove host from aggregate
  aggregate set Set aggregate properties
  aggregate show Display aggregate details
  availability zone list List availability zones and their status
  backup create Create new backup
  backup delete Delete backup(s)
  backup list List backups
  backup restore Restore backup
  backup show Display backup details
  catalog list List services in the service catalog
  catalog show Display service catalog details
  command list List recognized commands by group
  complete print bash completion command
  compute agent create Create compute agent command
  compute agent delete Delete compute agent command
  compute agent list List compute agent command
  compute agent set Set compute agent command
  compute service list List service command
  compute service set Set service command
  configuration show Display configuration details
  console log show Show server's console output
  console url show Show server's remote console URL
  container create Create new container
  container delete Delete container
  container list List containers
  container save Save container contents locally
  container show Display container details
  dataprocessing data source create Creates data source
  dataprocessing data source delete Delete data source
  dataprocessing data source list Lists data sources
  dataprocessing data source show Display data source details
Could not load EntryPoint.parse('dataprocessing_data_source_update = saharaclient.osc.v1.data_sources:UpdateDataSource')
'ArgumentParser' object has no attribute 'debug'

Revision history for this message
Amrith Kumar (amrith) wrote :

After a pip --upgrade python-saharaclient the problem was resolved.

That may be a resolution but there should be a better way to handle this in the openstack client (IMHO).

Revision history for this message
Thomas Bechtold (toabctl) wrote :
Download full text (32.5 KiB)

I'm getting the same with the follwing client versions installed:

i | python-barbicanclient | package | 3.3.0-1.2 | noarch | cloud
i | python-ceilometerclient | package | 1.5.0-1.1 | noarch | cloud
i | python-cinderclient | package | 1.4.0-1.2 | noarch | cloud
i | python-glanceclient | package | 1.1.0-1.2 | noarch | cloud
i | python-heatclient | package | 0.8.0-1.2 | noarch | cloud
i | python-keystoneclient | package | 1.7.2-1.1 | noarch | cloud
i | python-manilaclient | package | 1.4.0-1.1 | noarch | cloud
i | python-neutronclient | package | 3.1.0-1.1 | noarch | cloud
i | python-novaclient | package | 2.30.1-1.1 | noarch | cloud
i | python-openstackclient | package | 1.7.1-1.1 | noarch | cloud
i | python-saharaclient | package | 0.11.1-1.2 | noarch | cloud
i | python-swiftclient | package | 2.6.0-1.2 | noarch | cloud
i | python-troveclient | package | 1.3.0-1.1 | noarch | cloud

The output is:

# openstack -h
usage: openstack [--version] [-v] [--log-file LOG_FILE] [-q] [-h] [--debug]
                 [--os-cloud <cloud-config-name>]
                 [--os-region-name <auth-region-name>]
                 [--os-cacert <ca-bundle-file>] [--verify | --insecure]
                 [--os-default-domain <auth-domain>]
                 [--os-interface <interface>] [--timing]
                 [--os-compute-api-version <compute-api-version>]
                 [--os-network-api-version <network-api-version>]
                 [--os-image-api-version <image-api-version>]
                 [--os-volume-api-version <volume-api-version>]
                 [--os-identity-api-version <identity-api-version>]
                 [--os-auth-type <auth-type>]
                 [--os-project-domain-id <auth-project-domain-id>]
                 [--os-protocol <auth-protocol>]
                 [--os-project-name <auth-project-name>]
                 [--os-trust-id <auth-trust-id>]
                 [--os-service-provider-endpoint <auth-service-provider-endpoint>]
                 [--os-domain-name <auth-domain-name>]
                 [--os-user-domain-id <auth-user-domain-id>]
                 [--os-identity-provider-url <auth-identity-provider-url>]
                 [--os-access-token-endpoint <auth-access-token-endpoint>]
                 [--os-domain-id <auth-domain-id>]
                 [--os-user-domain-name <auth-user-domain-name>]
                 [--os-scope <auth-scope>] [--os-user-id <auth-user-id>]
                 [--os-identity-provider <auth-identity-provider>]
                 [--os-username <auth-username>]
                 [--os-auth-url <auth-auth-url>]
                 [--os-client-secret <auth-client-secret>]
                 [--os-client-id <auth-client-id>]
                 [--os-project-domain-name <auth-project-domain-name>]
                 [--os-password <auth-password>]
                 [--os-endpoint <auth-endpoint>] [--os-url <auth-url>]
                 [--os-token <auth-token>] [--os-project-id <auth-project-id>]
                 [--os-object-api-version <object-api-version>]
                 [--os-data-processing-api-vers...

Revision history for this message
Amrith Kumar (amrith) wrote :

Sounds like the answer is that you have to pip upgrade a whole bunch of clients. There has got to be a better way than having to do this manually.

Revision history for this message
Steve Martinelli (stevemar) wrote :

gonna mark this as a dupe of 1503512

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.