← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533087] [NEW] there is useless 'u' in the wrong info when execute a wrong nova command

 

Public bug reported:

[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:
root@45-59:/opt/stack/devstack# nova wrongcmd
usage: nova [--version] [--debug] [--os-cache] [--timings]
            [--os-region-name <region-name>] [--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-type <name>]
            [--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-default-domain-id OS_DEFAULT_DOMAIN_ID]
            [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
            [--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'wrongcmd'  >>>>ISSUE
Try 'nova help ' for more information.
root@45-59:/opt/stack/devstack# 

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1533087

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

Status in OpenStack Compute (nova):
  New

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:
  root@45-59:/opt/stack/devstack# nova wrongcmd
  usage: nova [--version] [--debug] [--os-cache] [--timings]
              [--os-region-name <region-name>] [--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-type <name>]
              [--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-default-domain-id OS_DEFAULT_DOMAIN_ID]
              [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
              [--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'wrongcmd'  >>>>ISSUE
  Try 'nova help ' for more information.
  root@45-59:/opt/stack/devstack# 

  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/nova/+bug/1533087/+subscriptions


Follow ups