Glance

IBM® Cloud Manager with OpenStack supports OpenStackGlance API services.

Default deployments of IBM Cloud Manager with OpenStack work with Glance API v2.

For more information about Glance (Image service) API v2.0, see the following reference in the OpenStack community documentation.

The following table describes support exceptions specific to IBM Cloud Manager with OpenStack.

Table 1. Glance API services
API Description Hypervisor

V2.0

Creates, updates, and deletes image metadata records. Also, uploads and downloads raw image data.

Note: The powervc_uuid image metadata is reserved by the PowerVC driver and must not be updated.

POST v2/images

Creates a virtual machine (VM) image.

Not supported by PowerVC driver. All images must be synchronized from PowerVC to the hosting OpenStack by the PowerVC driver.

For VMware, the VMware template images can be discovered/synchronized from vCenter into OpenStack Glance by using the VMware discovery service. You can also choose to create the VMDK images through OpenStack glance.

GET v2/images/{imageId}

Gets details for a specified image.

Not supported by PowerVC driver.

PUT v2/images/{imageId}/file

Uploads binary image data.

Not supported by PowerVC driver. All images must be synchronized from PowerVC to the hosting OpenStack by the PowerVC driver.

For VMware driver, this API is not supported for the VMware template image, but only supported for VMDK images

GET v2/images/{imageId}/file

Downloads binary image data.

Not supported by PowerVC driver.

For VMware driver, this API is not supported for the VMware template image, but only supported for VMDK images

POST v2/images/{image_id}/tags/{tag}

Adds a specified tag to a specified image.

Not supported by PowerVC driver.

DELETE v2/images/{image_id}/tags/{tag}

Deletes a specified tag from a specified image.

Not supported by PowerVC driver.