Images

OpenStack images can often be thought of as "virtual machine templates." Images can also be standard installation media such as ISO images. Essentially, they contain bootable file systems that are used to launch instances.

 Deleting Images

To delete an image, just execute:

$ glance image-delete <image uuid>
[Note]Note

Deleting an image does not affect instances or snapshots that were based on the image.

 Other CLI Options

A full set of options can be found using:

$ glance help

or the OpenStack Image Service CLI Guide.

 The Image Service and the Database

The only thing that the Image Service does not store in a database is the image itself. The Image Service database has two main tables:

Working directly with the database and SQL queries can provide you with custom lists and reports of images. Technically, you can update properties about images through the database, although this is not generally recommended.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...