The Image service (glance) project provides a service where users can upload and discover data assets that are meant to be used with other services. This currently includes images and metadata definitions.
Glance image services include discovering, registering, and retrieving virtual machine (VM) images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.
VM images made available through Glance can be stored in a variety of locations from simple filesystems to object-storage systems like the OpenStack Swift project.
Navigate to Compute -> Images using the second level navigation tabs
To complete this lab, you need to download the latest Cirros Cloud test image from the link below. Save it to a good location locally to be used later in the lab.
Click Create Image on the right hand side of the screen
Enter studentX-cirros for Name
Enter Cirros Cloud Image cirros/cubswin:) for Image Description
Click Browse... under File and select the Cirros 3.5 image you downloaded for this lab
Select QCOW2 - QEMU Emulator for Format
Leave Kernel and Ramdisk alone. No need to select them for this lab
Scroll down to finish entering the Image Details
Leave Architecture empty
Enter 1 for Minimum Disk (GB)
Enter 512 for Minimum RAM (MB) Click Private under Visibility (this image will only be available to your project) Leave Protected set to No
Click Create Image
You will first see the image file get uploaded via a progress bar on the create image dialog
Then the image will begin processing to get uploaded to glance
You should see a green box appear in the upper right corner of the screen that says something similar to "Success: Image student1-cirros was successfully created."
If you did not, let the intstructor know now
We have now learned how to upload images to our project. We can now use these images in our project as a basis for launching instances.
Building images is beyond the scope of this workshop. There are many resources on this topic both officially from Red Hat and from OpenStack.org
In our next lab, we will start working with instances.