← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533139] Re: there is useless 'u' in the wrong info when execute a wrong nova command

 

Thank you for the suggestion, I updated the same.

** Project changed: nova => python-novaclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1533139

Title:
  there is useless 'u' in the wrong info when execute a wrong nova
  command

Status in python-novaclient:
  Incomplete

Bug description:
  [Summary]
  there is useless 'u' in the wrong info when execute a wrong nova command

  [Topo]
  devstack all-in-one node

  [Description and expect result]
  no useless 'u' in the wrong info when execute a wrong nova command

  [Reproduceable or not]
  reproduceable

  [Recreate Steps]
  1) there is useless 'u' in the wrong info when execute a wrong nova command:

  [user@controller Desktop]$ nova dsjf
  usage: nova [--version] [--debug] [--os-cache] [--timings]
              [--os-auth-token OS_AUTH_TOKEN]
              [--os-tenant-name <auth-tenant-name>]
              [--os-tenant-id <auth-tenant-id>] [--os-region-name <region-name>]
              [--os-auth-system <auth-system>] [--service-type <service-type>]
              [--service-name <service-name>]
              [--volume-service-name <volume-service-name>]
              [--os-endpoint-type <endpoint-type>]
              [--os-compute-api-version <compute-api-ver>]
              [--bypass-url <bypass-url>] [--insecure]
              [--os-cacert <ca-certificate>] [--os-cert <certificate>]
              [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL]
              [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME]
              [--os-project-id OS_PROJECT_ID]
              [--os-project-name OS_PROJECT_NAME]
              [--os-project-domain-id OS_PROJECT_DOMAIN_ID]
              [--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
              [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID]
              [--os-user-name OS_USERNAME]
              [--os-user-domain-id OS_USER_DOMAIN_ID]
              [--os-user-domain-name OS_USER_DOMAIN_NAME]
              [--os-password OS_PASSWORD]
              <subcommand> ...
  error: argument <subcommand>: invalid choice: u'dsjf'
  Try 'nova help ' for more information.

  2)below is a correct example for reference:
  root@45-59:/opt/stack/devstack# keystone wrongcmd
  usage: keystone [--version] [--debug] [--os-username <auth-user-name>]
                  [--os-password <auth-password>]
                  [--os-tenant-name <auth-tenant-name>]
                  [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]
                  [--os-region-name <region-name>]
                  [--os-identity-api-version <identity-api-version>]
                  [--os-token <service-token>]
                  [--os-endpoint <service-endpoint>] [--os-cache]
                  [--force-new-token] [--stale-duration <seconds>] [--insecure]
                  [--os-cacert <ca-certificate>] [--os-cert <certificate>]
                  [--os-key <key>] [--timeout <seconds>]
                  <subcommand> ...
  keystone: error: argument <subcommand>: invalid choice: 'wrongcmd'

  [Configration]
  reproduceable bug, no need

  [logs]
  reproduceable bug, no need

  [Root cause anlyze or debug inf]
  reproduceable bug

  [Attachment]
  None

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1533139/+subscriptions


References