← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

[Summary]
there is useless 'u' in the wrong info when execute a wrong glance command

[Topo]
devstack all-in-one node

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

[Reproduceable or not]
reproduceable 

[Recreate Steps]
1) there is useless 'u' in the wrong info when execute a wrong glance command:
root@45-59:/opt/stack/devstack# glance wrongcmd
usage: glance [--version] [-d] [-v] [--get-schema] [--no-ssl-compression] [-f]
              [--os-image-url OS_IMAGE_URL]
              [--os-image-api-version OS_IMAGE_API_VERSION]
              [--profile HMAC_KEY] [--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-username OS_USERNAME]
              [--os-user-domain-id OS_USER_DOMAIN_ID]
              [--os-user-domain-name OS_USER_DOMAIN_NAME]
              [--os-password OS_PASSWORD] [--key-file OS_KEY]
              [--ca-file OS_CACERT] [--cert-file OS_CERT]
              [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
              [--os-region-name OS_REGION_NAME]
              [--os-auth-token OS_AUTH_TOKEN]
              [--os-service-type OS_SERVICE_TYPE]
              [--os-endpoint-type OS_ENDPOINT_TYPE]
              <subcommand> ...
glance: error: argument <subcommand>: invalid choice: u'wrongcmd' >>>>ISSUE

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: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1533090

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

Status in Glance:
  New

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

  [Topo]
  devstack all-in-one node

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

  [Reproduceable or not]
  reproduceable 

  [Recreate Steps]
  1) there is useless 'u' in the wrong info when execute a wrong glance command:
  root@45-59:/opt/stack/devstack# glance wrongcmd
  usage: glance [--version] [-d] [-v] [--get-schema] [--no-ssl-compression] [-f]
                [--os-image-url OS_IMAGE_URL]
                [--os-image-api-version OS_IMAGE_API_VERSION]
                [--profile HMAC_KEY] [--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-username OS_USERNAME]
                [--os-user-domain-id OS_USER_DOMAIN_ID]
                [--os-user-domain-name OS_USER_DOMAIN_NAME]
                [--os-password OS_PASSWORD] [--key-file OS_KEY]
                [--ca-file OS_CACERT] [--cert-file OS_CERT]
                [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
                [--os-region-name OS_REGION_NAME]
                [--os-auth-token OS_AUTH_TOKEN]
                [--os-service-type OS_SERVICE_TYPE]
                [--os-endpoint-type OS_ENDPOINT_TYPE]
                <subcommand> ...
  glance: error: argument <subcommand>: invalid choice: u'wrongcmd' >>>>ISSUE

  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/glance/+bug/1533090/+subscriptions


Follow ups