Change-Id: Iefda0a6cb72197c1affffd1f6adb1b211e29e600 Closes-Bug: 1458733
5.6 KiB
Upload and manage images
A virtual machine image, referred to in this document simply as an image, is a single file that contains a virtual disk that has a bootable operating system installed on it. Images are used to create virtual machine instances within the cloud. For information about creating image files, see the OpenStack Virtual Machine Image Guide.
Depending on your role, you may have permission to upload and manage virtual machine images. Operators might restrict the upload and management of images to cloud administrators or operators only. If you have the appropriate privileges, you can use the dashboard to upload and manage images in the admin project.
Note
You can also use the glance
and nova
command-line clients or the Image service and
Compute APIs to manage images.
Upload an image
Follow this procedure to upload an image to a project:
Log in to the dashboard.
From the CURRENT PROJECT on the
Project
tab, select the appropriate project.On the
Project
tab, clickImages
.Click
Create Image
.The
Create An Image
dialog box appears.Enter the following values:
Name
Enter a name for the image. Description
Enter a brief description of the image. Image Source
Choose the image source from the dropdown list. Your choices are Image Location
andImage File
.Image File
orImage Location
Based on your selection for Image Source
, you either enter the location URL of the image in theImage Location
field, or browse for the image file on your file system and add it.Format
Select the image format (for example, QCOW2) for the image. Architecture
Specify the architecture. For example, i386
for a 32-bit architecture orx86_64
for a 64-bit architecture.Minimum Disk (GB)
andMinimum RAM (MB)
Leave these fields empty. Public
Select this check box to make the image public to all users with access to the current project. Protected
Select this check box to ensure that only users with permissions can delete the image. Click
Create Image
.The image is queued to be uploaded. It might take some time before the status changes from Queued to Active.
Update an image
Follow this procedure to update an existing image.
- Log in to the dashboard.
- From the CURRENT PROJECT on the
Project
tab, select the appropriate project. - On the
Project
tab, clickImages
. - Select the image that you want to edit.
- In the
Actions
column, clickMore
and then selectEdit
from the list. - In the
Update Image
dialog box, you can perform the following actions:- Change the name of the image.
- Select the
Public
check box to make the image public. - Clear the
Public
check box to make the image private.
- Click
Update Image
.
Delete an image
Deletion of images is permanent and cannot be reversed. Only users with the appropriate permissions can delete images.
- Log in to the dashboard.
- From the CURRENT PROJECT on the
Project
tab, select the appropriate project. - On the
Project
tab, clickImages
. - Select the images that you want to delete.
- Click
Delete Images
. - In the
Confirm Delete Image
dialog box, clickDelete Images
to confirm the deletion.