Glance (images)
Glance stores the OS images VMs boot from. HAGISTACK registers cirros-0.6.3-x86_64 as a public image.
List and inspect
Section titled “List and inspect”openstack image listopenstack image show cirros-0.6.3-x86_64| Item | Value |
|---|---|
| What it does | reads the registered images |
| Expected output | cirros-0.6.3-x86_64 is active; show gives disk_format qcow2, visibility public, and the property hagistack_sha256 with the digest checked before upload |
| Permission | every user can read public images |
| Horizon | Project → Compute → Images |
Register an image
Section titled “Register an image”A qcow2 image file:
openstack image create --disk-format qcow2 --container-format bare \ --file ./my-image.qcow2 my-image--publicmakes it usable from every project (administrators only). Without it, only the current project can use it.- Check the image against the checksum its publisher gives before you register it (for example
sha256sum my-image.qcow2). - Mind the disk space: images are stored on the controller’s disk.
Delete
Section titled “Delete”openstack image delete my-image