Chapter 7. Image Service Command-line Client

The glance client is the command-line interface (CLI) for the OpenStack Image Service API and its extensions. This chapter documents glance version 2.5.0.
Note
The Image service property keys are documented in the Instances and Images Guide.
For help on a specific glance command, enter:
$ glance help COMMAND

7.1. glance Usage

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> ...

Subcommands

explain


        Describe a specific model.

image-create


        Create a new image.

image-deactivate


        Deactivate specified image.

image-delete


        Delete specified image.

image-download


        Download a specific image.

image-list


        List images you can access.

image-reactivate


        Reactivate specified image.

image-show


        Describe a specific image.

image-tag-delete


        Delete the tag associated with the given image.

image-tag-update


        Update an image with the given tag.

image-update


        Update an existing image.

image-upload


        Upload data for a specific image.

location-add


        Add a location (and related metadata) to an image.

location-delete


        Remove locations (and related metadata) from an image.

location-update


        Update metadata of an image's location.

md-namespace-create


      Create a new metadata definitions namespace.

md-namespace-delete


      Delete specified metadata definitions namespace with
      its contents.

md-namespace-import


      Import a metadata definitions namespace from file or
      standard input.

md-namespace-list


        List metadata definitions namespaces.

md-namespace-objects-delete


      Delete all metadata definitions objects inside a
      specific namespace.

md-namespace-properties-delete


      Delete all metadata definitions property inside a
      specific namespace.

md-namespace-resource-type-list


      List resource types associated to specific namespace.

md-namespace-show


        Describe a specific metadata definitions namespace.

md-namespace-tags-delete


      Delete all metadata definitions tags inside a specific
      namespace.

md-namespace-update


      Update an existing metadata definitions namespace.

md-object-create


        Create a new metadata definitions object inside a
      namespace.

md-object-delete


        Delete a specific metadata definitions object inside a
      namespace.

md-object-list


        List metadata definitions objects inside a specific
      namespace.

md-object-property-show


      Describe a specific metadata definitions property
      inside an object.

md-object-show


        Describe a specific metadata definitions object inside
      a namespace.

md-object-update


        Update metadata definitions object inside a namespace.

md-property-create


        Create a new metadata definitions property inside a
      namespace.

md-property-delete


        Delete a specific metadata definitions property inside
      a namespace.

md-property-list


        List metadata definitions properties inside a specific
      namespace.

md-property-show


        Describe a specific metadata definitions property
      inside a namespace.

md-property-update


        Update metadata definitions property inside a
      namespace.

md-resource-type-associate


      Associate resource type with a metadata definitions
      namespace.

md-resource-type-deassociate


      Deassociate resource type with a metadata definitions
      namespace.

md-resource-type-list


      List available resource type names.

md-tag-create


        Add a new metadata definitions tag inside a namespace.

md-tag-create-multiple


      Create new metadata definitions tags inside a
      namespace.

md-tag-delete


        Delete a specific metadata definitions tag inside a
      namespace.

md-tag-list


        List metadata definitions tags inside a specific
      namespace.

md-tag-show


        Describe a specific metadata definitions tag inside a
      namespace.

md-tag-update


        Rename a metadata definitions tag inside a namespace.

member-create


        Create member for a given image.

member-delete


        Delete image member.

member-list


        Describe sharing permissions by image.

member-update


        Update the status of a member for a given image.

task-create


        Create a new task.

task-list


        List tasks you can access.

task-show


        Describe a specific task.

bash-completion


        Prints arguments for bash_completion.

help


        Display help about this program or one of its
      subcommands.

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].

7.3. Image Service API v1 Commands

Since version 8 (Liberty), Image Service uses API v2 by default. To use v1 you must add the --os-image-api-version 1 option or set the corresponding environment variable:
$ export OS_IMAGE_API_VERSION=1

7.3.1. glance image-create

usage: glance --os-image-api-version 1 image-create [--architecture <ARCHITECTURE>]
                           [--protected [True|False]] [--name <NAME>]
                           [--instance-uuid <INSTANCE_UUID>]
                           [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>]
                           [--kernel-id <KERNEL_ID>]
                           [--tags <TAGS> [<TAGS> ...]]
                           [--os-version <OS_VERSION>]
                           [--disk-format <DISK_FORMAT>]
                           [--os-distro <OS_DISTRO>] [--id <ID>]
                           [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>]
                           [--min-ram <MIN_RAM>]
                           [--container-format <CONTAINER_FORMAT>]
                           [--property <key=value>] [--file <FILE>]
                           [--progress]
Create a new image.

Optional arguments

--architecture <ARCHITECTURE>


      Operating system architecture as specified in
      http://docs.openstack.org/user-guide/common/cli-
      manage-images.html

--protected [True|False]


      If true, image will not be deletable.

--name <NAME>


        Descriptive name for the image

--instance-uuid <INSTANCE_UUID>


      Metadata which can be used to record which instance
      this image is associated with. (Informational only,
      does not create an instance snapshot.)

--min-disk <MIN_DISK>


      Amount of disk space (in GB) required to boot image.

--visibility <VISIBILITY>


      Scope of image accessibility Valid values: public,
      private

--kernel-id <KERNEL_ID>


      ID of image stored in Glance that should be used as
      the kernel when booting an AMI-style image.

--tags <TAGS> [<TAGS> ...]


      List of strings related to the image

--os-version <OS_VERSION>


      Operating system version as specified by the
      distributor

--disk-format <DISK_FORMAT>


      Format of the disk Valid values: None, ami, ari, aki,
      vhd, vmdk, raw, qcow2, vdi, iso

--os-distro <OS_DISTRO>


      Common name of operating system distribution as
      specified in http://docs.openstack.org/user-
      guide/common/cli-manage-images.html

--id <ID>


        An identifier for the image

--owner <OWNER>


        Owner of the image

--ramdisk-id <RAMDISK_ID>


      ID of image stored in Glance that should be used as
      the ramdisk when booting an AMI-style image.

--min-ram <MIN_RAM>


        Amount of ram (in MB) required to boot image.

--container-format <CONTAINER_FORMAT>


      Format of the container Valid values: None, ami, ari,
      aki, bare, ovf, ova, docker

--property <key=value>


      Arbitrary property to associate with image. May be
      used multiple times.

--file <FILE>


        Local file that contains disk image to be uploaded
      during creation. Alternatively, the image data can be
      passed to the client via stdin.

--progress


        Show upload progress bar.

7.3.2. glance image-delete

usage: glance --os-image-api-version 1 image-delete <IMAGE_ID> [<IMAGE_ID> ...]
Delete specified image.

Positional arguments

<IMAGE_ID>


        ID of image(s) to delete.

7.3.3. glance image-list

usage: glance --os-image-api-version 1 image-list [--limit <LIMIT>] [--page-size <SIZE>]
                         [--visibility <VISIBILITY>]
                         [--member-status <MEMBER_STATUS>] [--owner <OWNER>]
                         [--property-filter <KEY=VALUE>]
                         [--checksum <CHECKSUM>] [--tag <TAG>]
                         [--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}]
                         [--sort-dir {asc,desc}] [--sort <key>[:<direction>]]
List images you can access.

Optional arguments

--limit <LIMIT>


        Maximum number of images to get.

--page-size <SIZE>


        Number of images to request in each paginated request.

--visibility <VISIBILITY>


      The visibility of the images to display.

--member-status <MEMBER_STATUS>


      The status of images to display.

--owner <OWNER>


        Display images owned by <OWNER>.

--property-filter <KEY=VALUE>


      Filter images by a user-defined image property.

--checksum <CHECKSUM>


      Displays images that match the checksum.

--tag <TAG>


        Filter images by a user-defined tag.

--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}


      Sort image list by specified fields. May be used
      multiple times.

--sort-dir {asc,desc}


      Sort image list in specified directions.

--sort <key>[:<direction>]


      Comma-separated list of sort keys and directions in
      the form of <key>[:<asc|desc>]. Valid keys: name,
      status, container_format, disk_format, size, id,
      created_at, updated_at. OPTIONAL.

7.3.4. glance image-show

usage: glance --os-image-api-version 1 image-show [--human-readable] [--max-column-width <integer>]
                         <IMAGE_ID>
Describe a specific image.

Positional arguments

<IMAGE_ID>


        ID of image to describe.

Optional arguments

--human-readable


        Print image size in a human-friendly format.

--max-column-width <integer>


      The max column width of the printed table.

7.3.5. glance image-update

usage: glance --os-image-api-version 1 image-update [--architecture <ARCHITECTURE>]
                           [--protected [True|False]] [--name <NAME>]
                           [--instance-uuid <INSTANCE_UUID>]
                           [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>]
                           [--kernel-id <KERNEL_ID>]
                           [--os-version <OS_VERSION>]
                           [--disk-format <DISK_FORMAT>]
                           [--os-distro <OS_DISTRO>] [--owner <OWNER>]
                           [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>]
                           [--container-format <CONTAINER_FORMAT>]
                           [--property <key=value>] [--remove-property key]
                           <IMAGE_ID>
Update an existing image.

Positional arguments

<IMAGE_ID>


        ID of image to update.

Optional arguments

--architecture <ARCHITECTURE>


      Operating system architecture as specified in
      http://docs.openstack.org/user-guide/common/cli-
      manage-images.html

--protected [True|False]


      If true, image will not be deletable.

--name <NAME>


        Descriptive name for the image

--instance-uuid <INSTANCE_UUID>


      Metadata which can be used to record which instance
      this image is associated with. (Informational only,
      does not create an instance snapshot.)

--min-disk <MIN_DISK>


      Amount of disk space (in GB) required to boot image.

--visibility <VISIBILITY>


      Scope of image accessibility Valid values: public,
      private

--kernel-id <KERNEL_ID>


      ID of image stored in Glance that should be used as
      the kernel when booting an AMI-style image.

--os-version <OS_VERSION>


      Operating system version as specified by the
      distributor

--disk-format <DISK_FORMAT>


      Format of the disk Valid values: None, ami, ari, aki,
      vhd, vmdk, raw, qcow2, vdi, iso

--os-distro <OS_DISTRO>


      Common name of operating system distribution as
      specified in http://docs.openstack.org/user-
      guide/common/cli-manage-images.html

--owner <OWNER>


        Owner of the image

--ramdisk-id <RAMDISK_ID>


      ID of image stored in Glance that should be used as
      the ramdisk when booting an AMI-style image.

--min-ram <MIN_RAM>


        Amount of ram (in MB) required to boot image.

--container-format <CONTAINER_FORMAT>


      Format of the container Valid values: None, ami, ari,
      aki, bare, ovf, ova, docker

--property <key=value>


      Arbitrary property to associate with image. May be
      used multiple times.

--remove-property


        key
      Name of arbitrary property to remove from the image.

7.3.6. glance member-create

usage: glance --os-image-api-version 1 member-create <IMAGE_ID> <MEMBER_ID>
Create member for a given image.

Positional arguments

<IMAGE_ID>


        Image with which to create member.

<MEMBER_ID>


        Tenant to add as member.

7.3.7. glance member-delete

usage: glance --os-image-api-version 1 member-delete <IMAGE_ID> <MEMBER_ID>
Delete image member.

Positional arguments

<IMAGE_ID>


        Image from which to remove member.

<MEMBER_ID>


        Tenant to remove as member.

7.3.8. glance member-list

usage: glance --os-image-api-version 1 member-list --image-id <IMAGE_ID>
Describe sharing permissions by image.

Optional arguments

--image-id <IMAGE_ID>


      Image to display members of.

7.4. Image Service API v2 Commands

Since version 8 (Liberty), Image Service uses API v2 by default, so it is no longer necessary to add --os-image-api-version to specify v2.

7.4.1. glance explain (v2)

usage: glance explain <MODEL>
Describe a specific model.

Positional arguments

<MODEL>


        Name of model to describe.

7.4.2. glance image-create (v2)

usage: glance image-create [--architecture <ARCHITECTURE>]
                           [--protected [True|False]] [--name <NAME>]
                           [--instance-uuid <INSTANCE_UUID>]
                           [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>]
                           [--kernel-id <KERNEL_ID>]
                           [--tags <TAGS> [<TAGS> ...]]
                           [--os-version <OS_VERSION>]
                           [--disk-format <DISK_FORMAT>]
                           [--os-distro <OS_DISTRO>] [--id <ID>]
                           [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>]
                           [--min-ram <MIN_RAM>]
                           [--container-format <CONTAINER_FORMAT>]
                           [--property <key=value>] [--file <FILE>]
                           [--progress]
Create a new image.

Optional arguments

--architecture <ARCHITECTURE>


      Operating system architecture as specified in
      http://docs.openstack.org/user-guide/common/cli-
      manage-images.html

--protected [True|False]


      If true, image will not be deletable.

--name <NAME>


        Descriptive name for the image

--instance-uuid <INSTANCE_UUID>


      Metadata which can be used to record which instance
      this image is associated with. (Informational only,
      does not create an instance snapshot.)

--min-disk <MIN_DISK>


      Amount of disk space (in GB) required to boot image.

--visibility <VISIBILITY>


      Scope of image accessibility Valid values: public,
      private

--kernel-id <KERNEL_ID>


      ID of image stored in Glance that should be used as
      the kernel when booting an AMI-style image.

--tags <TAGS> [<TAGS> ...]


      List of strings related to the image

--os-version <OS_VERSION>


      Operating system version as specified by the
      distributor

--disk-format <DISK_FORMAT>


      Format of the disk Valid values: None, ami, ari, aki,
      vhd, vmdk, raw, qcow2, vdi, iso

--os-distro <OS_DISTRO>


      Common name of operating system distribution as
      specified in http://docs.openstack.org/user-
      guide/common/cli-manage-images.html

--id <ID>


        An identifier for the image

--owner <OWNER>


        Owner of the image

--ramdisk-id <RAMDISK_ID>


      ID of image stored in Glance that should be used as
      the ramdisk when booting an AMI-style image.

--min-ram <MIN_RAM>


        Amount of ram (in MB) required to boot image.

--container-format <CONTAINER_FORMAT>


      Format of the container Valid values: None, ami, ari,
      aki, bare, ovf, ova, docker

--property <key=value>


      Arbitrary property to associate with image. May be
      used multiple times.

--file <FILE>


        Local file that contains disk image to be uploaded
      during creation. Alternatively, the image data can be
      passed to the client via stdin.

--progress


        Show upload progress bar.

7.4.3. glance image-delete (v2)

usage: glance image-delete <IMAGE_ID> [<IMAGE_ID> ...]
Delete specified image.

Positional arguments

<IMAGE_ID>


        ID of image(s) to delete.

7.4.4. glance image-download (v2)

usage: glance image-download [--file <FILE>] [--progress] <IMAGE_ID>
Download a specific image.

Positional arguments

<IMAGE_ID>


        ID of image to download.

Optional arguments

--file <FILE>


        Local file to save downloaded image data to. If this is not
      specified and there is no redirection the image data will not
      be saved.

--progress


        Show download progress bar.

7.4.5. glance image-list (v2)

usage: glance image-list [--limit <LIMIT>] [--page-size <SIZE>]
                         [--visibility <VISIBILITY>]
                         [--member-status <MEMBER_STATUS>] [--owner <OWNER>]
                         [--property-filter <KEY=VALUE>]
                         [--checksum <CHECKSUM>] [--tag <TAG>]
                         [--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}]
                         [--sort-dir {asc,desc}] [--sort <key>[:<direction>]]
List images you can access.

Optional arguments

--limit <LIMIT>


        Maximum number of images to get.

--page-size <SIZE>


        Number of images to request in each paginated request.

--visibility <VISIBILITY>


      The visibility of the images to display.

--member-status <MEMBER_STATUS>


      The status of images to display.

--owner <OWNER>


        Display images owned by <OWNER>.

--property-filter <KEY=VALUE>


      Filter images by a user-defined image property.

--checksum <CHECKSUM>


      Displays images that match the checksum.

--tag <TAG>


        Filter images by a user-defined tag.

--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}


      Sort image list by specified fields. May be used
      multiple times.

--sort-dir {asc,desc}


      Sort image list in specified directions.

--sort <key>[:<direction>]


      Comma-separated list of sort keys and directions in
      the form of <key>[:<asc|desc>]. Valid keys: name,
      status, container_format, disk_format, size, id,
      created_at, updated_at. OPTIONAL.

7.4.6. glance image-show (v2)

usage: glance image-show [--human-readable] [--max-column-width <integer>]
                         <IMAGE_ID>
Describe a specific image.

Positional arguments

<IMAGE_ID>


        ID of image to describe.

Optional arguments

--human-readable


        Print image size in a human-friendly format.

--max-column-width <integer>


      The max column width of the printed table.

7.4.7. glance image-tag-delete (v2)

usage: glance image-tag-delete <IMAGE_ID> <TAG_VALUE>
Delete the tag associated with the given image.

Positional arguments

<IMAGE_ID>


        ID of the image from which to delete tag.

<TAG_VALUE>


        Value of the tag.

7.4.8. glance image-tag-update (v2)

usage: glance image-tag-update <IMAGE_ID> <TAG_VALUE>
Update an image with the given tag.

Positional arguments

<IMAGE_ID>


        Image to be updated with the given tag.

<TAG_VALUE>


        Value of the tag.

7.4.9. glance image-update (v2)

usage: glance image-update [--architecture <ARCHITECTURE>]
                           [--protected [True|False]] [--name <NAME>]
                           [--instance-uuid <INSTANCE_UUID>]
                           [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>]
                           [--kernel-id <KERNEL_ID>]
                           [--os-version <OS_VERSION>]
                           [--disk-format <DISK_FORMAT>]
                           [--os-distro <OS_DISTRO>] [--owner <OWNER>]
                           [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>]
                           [--container-format <CONTAINER_FORMAT>]
                           [--property <key=value>] [--remove-property key]
                           <IMAGE_ID>
Update an existing image.

Positional arguments

<IMAGE_ID>


        ID of image to update.

Optional arguments

--architecture <ARCHITECTURE>


      Operating system architecture as specified in
      http://docs.openstack.org/user-guide/common/cli-
      manage-images.html

--protected [True|False]


      If true, image will not be deletable.

--name <NAME>


        Descriptive name for the image

--instance-uuid <INSTANCE_UUID>


      Metadata which can be used to record which instance
      this image is associated with. (Informational only,
      does not create an instance snapshot.)

--min-disk <MIN_DISK>


      Amount of disk space (in GB) required to boot image.

--visibility <VISIBILITY>


      Scope of image accessibility Valid values: public,
      private

--kernel-id <KERNEL_ID>


      ID of image stored in Glance that should be used as
      the kernel when booting an AMI-style image.

--os-version <OS_VERSION>


      Operating system version as specified by the
      distributor

--disk-format <DISK_FORMAT>


      Format of the disk Valid values: None, ami, ari, aki,
      vhd, vmdk, raw, qcow2, vdi, iso

--os-distro <OS_DISTRO>


      Common name of operating system distribution as
      specified in http://docs.openstack.org/user-
      guide/common/cli-manage-images.html

--owner <OWNER>


        Owner of the image

--ramdisk-id <RAMDISK_ID>


      ID of image stored in Glance that should be used as
      the ramdisk when booting an AMI-style image.

--min-ram <MIN_RAM>


        Amount of ram (in MB) required to boot image.

--container-format <CONTAINER_FORMAT>


      Format of the container Valid values: None, ami, ari,
      aki, bare, ovf, ova, docker

--property <key=value>


      Arbitrary property to associate with image. May be
      used multiple times.

--remove-property


        key
      Name of arbitrary property to remove from the image.

7.4.10. glance image-upload (v2)

usage: glance image-upload [--file <FILE>] [--size <IMAGE_SIZE>] [--progress]
                           <IMAGE_ID>
Upload data for a specific image.

Positional arguments

<IMAGE_ID>


        ID of image to upload data to.

Optional arguments

--file <FILE>


        Local file that contains disk image to be uploaded.
      Alternatively, images can be passed to the client via
      stdin.

--size <IMAGE_SIZE>


        Size in bytes of image to be uploaded. Default is to
      get size from provided data object but this is
      supported in case where size cannot be inferred.

--progress


        Show upload progress bar.

7.4.11. glance member-create (v2)

usage: glance member-create <IMAGE_ID> <MEMBER_ID>
Create member for a given image.

Positional arguments

<IMAGE_ID>


        Image with which to create member.

<MEMBER_ID>


        Tenant to add as member.

7.4.12. glance member-delete (v2)

usage: glance member-delete <IMAGE_ID> <MEMBER_ID>
Delete image member.

Positional arguments

<IMAGE_ID>


        Image from which to remove member.

<MEMBER_ID>


        Tenant to remove as member.

7.4.13. glance member-list (v2)

usage: glance member-list --image-id <IMAGE_ID>
Describe sharing permissions by image.

Optional arguments

--image-id <IMAGE_ID>


      Image to display members of.

7.4.14. glance member-update (v2)

usage: glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
Update the status of a member for a given image.

Positional arguments

<IMAGE_ID>


        Image from which to update member.

<MEMBER_ID>


        Tenant to update.

<MEMBER_STATUS>


        Updated status of member. Valid Values: accepted, rejected,
      pending