taikun.cloud

Taikun OCP Guide

Table of Contents

Create and manage images

As an administrative user, you can create and manage images for the
projects to which you belong. You can also create and manage images for
users in all projects to which you have access.

To create and manage images in specified projects as an end user, see
the upload and manage images with Dashboard in
OpenStack End User Guide </user/manage-images>
and manage
images with CLI in OpenStack End User Guide
.

To create and manage images as an administrator for other users, use
the following procedures.

Create images

For details about image creation, see the Virtual Machine Image
Guide
.

  1. Log in to the Dashboard and select the admin project from the
    drop-down list.

  2. On the Admin tab, open the Compute tab and click
    the Images
    category. The images that you can administer for cloud users appear on
    this page.

  3. Click Create Image, which opens the Create An Image
    window.

    figures/create_image.png
    Figure Dashboard — Create
    Image
  4. In the Create An Image window, enter or select 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 and
    Image File.
    Image File or
    Image Location
    Based on your selection, there is an Image File or Image Location field. You can include the
    location URL or browse for the image file on your file system and add
    it.
    Format Select the image format.
    Architecture Specify the architecture. For example, i386 for a
    32-bit architecture or x86_64 for a 64-bit
    architecture.
    Minimum Disk (GB) Leave this field empty.
    Minimum RAM (MB) Leave this field empty.
    Copy Data Specify this option to copy image data to the Image service.
    Public Select this option to make the image public to all users.
    Protected Select this option to ensure that only users with permissions can
    delete it.
  5. Click Create Image.

    The image is queued to be uploaded. It might take several minutes
    before the status changes from Queued to
    Active.

Update images

  1. Log in to the Dashboard and select the admin project from the
    drop-down list.

  2. On the Admin tab, open the Compute tab and click
    the Images
    category.

  3. Select the images that you want to edit. Click Edit Image.

  4. In the Edit Image window, you can change the image
    name.

    Select the Public check box to make the image public. Clear
    this check box to make the image private. You cannot change the Kernel ID, Ramdisk ID, or Architecture attributes
    for an image.

  5. Click Edit Image.

Delete images

  1. Log in to the Dashboard and select the admin project from the
    drop-down list.

  2. On the Admin tab, open the Compute tab and click
    the Images
    category.

  3. Select the images that you want to delete.

  4. Click Delete Images.

  5. In the Confirm Delete Images window, click Delete
    Images
    to confirm the deletion.

    You cannot undo this action.