Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

7.2. glance Optional Arguments

--version


        show program's version number and exit

-d, --debug


        Defaults to env[GLANCECLIENT_DEBUG].

-v, --verbose


        Print more verbose output.

--get-schema


        Ignores cached copy and forces retrieval of schema
      that generates portions of the help text. Ignored with
      API version 1.

--no-ssl-compression


        DEPRECATED! This option is deprecated and not used
      anymore. SSL compression should be disabled by default
      by the system SSL library.

-f, --force


        Prevent select actions from requesting user
      confirmation.

--os-image-url OS_IMAGE_URL


      Defaults to env[OS_IMAGE_URL]. If the provided image
      url contains a version number and `--os-image-api-
      version` is omitted the version of the URL will be
      picked as the image api version to use.

--os-image-api-version OS_IMAGE_API_VERSION


      Defaults to env[OS_IMAGE_API_VERSION] or 2.

--profile HMAC_KEY HMAC


        key to use for encrypting context data for
      performance profiling of operation. This key should be
      the value of HMAC key configured in osprofiler
      middleware in glance, it is specified in paste
      configuration file at /etc/glance/api-paste.ini and
      /etc/glance/registry-paste.ini. Without key the
      profiling will not be triggered even if osprofiler is
      enabled on server side.

--insecure


        Explicitly allow client to perform "insecure" TLS
      (https) requests. The server's certificate will not be
      verified against any certificate authorities. This
      option should be used with caution.

--os-cacert <ca-certificate>


      Specify a CA bundle file to use in verifying a TLS
      (https) server certificate. Defaults to
      env[OS_CACERT].

--os-cert <certificate>


      Defaults to env[OS_CERT].

--os-key <key>


        Defaults to env[OS_KEY].

--timeout <seconds>


        Set request timeout (in seconds).

--os-auth-url OS_AUTH_URL


      Authentication URL

--os-domain-id OS_DOMAIN_ID


      Domain ID to scope to

--os-domain-name OS_DOMAIN_NAME


      Domain name to scope to

--os-project-id OS_PROJECT_ID


      Project ID to scope to

--os-project-name OS_PROJECT_NAME


      Project name to scope to

--os-project-domain-id OS_PROJECT_DOMAIN_ID


      Domain ID containing project

--os-project-domain-name OS_PROJECT_DOMAIN_NAME


      Domain name containing project

--os-trust-id OS_TRUST_ID


      Trust ID

--os-user-id OS_USER_ID


      User ID

--os-username OS_USERNAME, --os-user_name OS_USERNAME


      Username

--os-user-domain-id OS_USER_DOMAIN_ID


      User's domain id

--os-user-domain-name OS_USER_DOMAIN_NAME


      User's domain name

--os-password OS_PASSWORD


      User's password

--key-file OS_KEY


        DEPRECATED! Use --os-key.

--ca-file OS_CACERT


        DEPRECATED! Use --os-cacert.

--cert-file OS_CERT


        DEPRECATED! Use --os-cert.

--os-tenant-id OS_TENANT_ID


      Defaults to env[OS_TENANT_ID].

--os-tenant-name OS_TENANT_NAME


      Defaults to env[OS_TENANT_NAME].

--os-region-name OS_REGION_NAME


      Defaults to env[OS_REGION_NAME].

--os-auth-token OS_AUTH_TOKEN


      Defaults to env[OS_AUTH_TOKEN].

--os-service-type OS_SERVICE_TYPE


      Defaults to env[OS_SERVICE_TYPE].

--os-endpoint-type OS_ENDPOINT_TYPE


      Defaults to env[OS_ENDPOINT_TYPE].