← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1315522] [NEW] glance client does not recognize command-line arguments

 

Public bug reported:

Glance client says "unrecognized arguments" when --os-username and --os-auth-url are passed to it. The help text indicates that these arguments should work.
Neither the single-letter arguments, nor the double-dash long arguments work.

kcrawford-mbp:~ kcrawford$ glance --version
0.12.0
kcrawford-mbp:~ kcrawford$ glance image-create --os-username kobie_crawford --os-auth-url https://keystone:5000/v2.0/ --file /path/to/file.raw --owner my-tenant --name new_image_1
usage: glance [--version] [-d] [-v] [--get-schema] [-k]
              [--cert-file CERT_FILE] [--key-file KEY_FILE]
              [--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT]
              [--timeout TIMEOUT] [--no-ssl-compression] [-f] [--dry-run]
              [--ssl] [-H ADDRESS] [-p PORT] [--os-username OS_USERNAME]
              [-I OS_USERNAME] [--os-password OS_PASSWORD] [-K OS_PASSWORD]
              [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
              [-T OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [-N OS_AUTH_URL]
              [--os-region-name OS_REGION_NAME] [-R OS_REGION_NAME]
              [--os-auth-token OS_AUTH_TOKEN] [-A OS_AUTH_TOKEN]
              [--os-image-url OS_IMAGE_URL] [-U OS_IMAGE_URL]
              [--os-image-api-version OS_IMAGE_API_VERSION]
              [--os-service-type OS_SERVICE_TYPE]
              [--os-endpoint-type OS_ENDPOINT_TYPE] [-S OS_AUTH_STRATEGY]
              <subcommand> ...
glance: error: unrecognized arguments: --os-username kobie_crawford --os-auth-url https://keystone:5000/v2.0/
kcrawford-mbp:~ kcrawford$

** 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/1315522

Title:
  glance client does not recognize command-line arguments

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Glance client says "unrecognized arguments" when --os-username and --os-auth-url are passed to it. The help text indicates that these arguments should work.
  Neither the single-letter arguments, nor the double-dash long arguments work.

  kcrawford-mbp:~ kcrawford$ glance --version
  0.12.0
  kcrawford-mbp:~ kcrawford$ glance image-create --os-username kobie_crawford --os-auth-url https://keystone:5000/v2.0/ --file /path/to/file.raw --owner my-tenant --name new_image_1
  usage: glance [--version] [-d] [-v] [--get-schema] [-k]
                [--cert-file CERT_FILE] [--key-file KEY_FILE]
                [--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT]
                [--timeout TIMEOUT] [--no-ssl-compression] [-f] [--dry-run]
                [--ssl] [-H ADDRESS] [-p PORT] [--os-username OS_USERNAME]
                [-I OS_USERNAME] [--os-password OS_PASSWORD] [-K OS_PASSWORD]
                [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
                [-T OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [-N OS_AUTH_URL]
                [--os-region-name OS_REGION_NAME] [-R OS_REGION_NAME]
                [--os-auth-token OS_AUTH_TOKEN] [-A OS_AUTH_TOKEN]
                [--os-image-url OS_IMAGE_URL] [-U OS_IMAGE_URL]
                [--os-image-api-version OS_IMAGE_API_VERSION]
                [--os-service-type OS_SERVICE_TYPE]
                [--os-endpoint-type OS_ENDPOINT_TYPE] [-S OS_AUTH_STRATEGY]
                <subcommand> ...
  glance: error: unrecognized arguments: --os-username kobie_crawford --os-auth-url https://keystone:5000/v2.0/
  kcrawford-mbp:~ kcrawford$

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1315522/+subscriptions


Follow ups

References