This will be the forth part of my Nutanix OpenStack blog series and it will cover the OpenStack Glance Image service. The following blog posts has been released so far:
- Nutanix OpenStack Part I – Deployment
- Nutanix OpenStack Part II – Project & User Management
- Nutanix OpenStack part III – Network Management
It’s now time to create another object needed to make it possible for end users to leverage the solution. OpenStack Glance Image service interacts with Acropolis via the driver provided in the Nutanix OVM. The service includes discovery, registration and can retrieve VM images which can be used as templates for new VMs. The Glance service be accessed via e.g. REST API where a copy or snapshot process can be initiated.
By taking a quick look in the Image section of the OpenStack dashboard via Compute -> Images we can see there are no Images available.
By using the OVM cli we can verify the same thing via the Glance service using the following commands:
A quick look in the Nutanix PRISM Image Configuration section where we can see a few existing images but non is available in OpenStack.
Just follow the below outlined simple steps to upload an Image to the OpenStack controller Glance service:
- Click Create Image in the OpenStack Dashboard -> Image section
- Fill in the required information. In my case i included the below information before i hit the Create Image button/link:
You can monitor the progress via OpenStack UI and Nutanix PRISM:
When the upload progress is finished it will look like this:
If you click the image you’ll get more details about it including:
|
---|
This information can also be viewed using the glance command and the Image ID. In this case i used the following command:
glance image-show –human-readable 7dfb7c3c-11e1-4f94-b266-4d607c2f7ac3
The ID was retrieved by running glance image-list
As you can see the Image is stored in the Nutanix ECP cluster and not in the OVM itself. However, Image metadata is stored in the OpenStack controller Glance service. Images should only be managed via the OpenStack dashboard and not directly via Nutanix PRISM.