This guide will assist you in obtaining, creating, or modifying cloud images for your Image (Glance) repository and uploading them for use.
OpenStack has created a guide to show you how to obtain, create, and modify images that will be compatible with your HPE Helion OpenStack cloud:
These steps assume you have a user account setup within Keystone that has access to upload images to the Glance repository. Contact your Administrator if you do not have these permissions or if you are unsure.
Download the Cirros image from the internet:
wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
Upload that file to Glance using the GlanceClient CLI:
glance \ --os-username <username> \ --os-password <password> \ --os-tenant-name <project name> \ --os-auth-url <identity endpoint> \ --os-endpoint-type internalURL \ image-create --name cirros-0.3.3-x86_64 \ --container-format bare \ --disk-format qcow2 \ --visibility public \ --file <path to Cirros image file>
It is possible to use the Horizon UI to create images for use in your cloud. These steps will show you how.
To successfully create large images, select the image format first, then add image name, image source and visibility.
Performing the steps out of this order will cause OS image creation to fail.
By default, the HTTP upload option will not work when uploading images. To utilize this option you will need your cloud administrator to enable this option. See Book “Operations Guide”, Chapter 15 “Troubleshooting Issues”, Section 15.5 “Troubleshooting the Image (Glance) Service” for more details.
Log in to the Horizon UI.
In the menu, select
› › and click the button:Fill in the details for your new image and then click the Create Image button: