You can import an image file into your VMware Integrated OpenStack deployment and use it to launch instances.

The following image formats are supported:
  • VMDK
  • ISO
  • OVA
  • RAW
  • QCOW2
  • VDI
  • VHD
Note: ISO images cannot be used for creating volumes.

Procedure

  1. To create an image in the horizon, log in to the VMware Integrated OpenStack dashboard.
  2. Select your project from the drop-down menu in the title bar.
  3. Select Project > Compute > Images.
  4. Click Create Image and enter the desired configuration.
    Option Action
    Image Name

    Enter a name for the image.

    Image Description

    Enter a description for the image.

    Image Source

    Click Browse and select the image file.

    Format

    Select ISO or VMDK.

    For images in OVA, RAW, QCOW2, VDI, or VHD formats, select VMDK as the disk format.

    Disk Adapter Type

    For VMDK images, select the adapter type.

    Minimum Disk (GB)

    Specify the minimum disk size for the image in gigabytes.

    Minimum RAM (MB)

    Specify the minimum RAM for the image in megabytes.

    Visibility

    (Cloud administrators only) Select Public to make the image available to all projects or Private to make the image available only to the current project.

    Protected

    Select Yes to prevent the image from being deleted.

  5. (Optional) Click Next and configure metadata for the image.
  6. Click Create Image.
  7. (Optional) Create Image using OpenStack CLI.

    You can also create an image using the OpenStack CLI for uploading the local image file to VMware Integrated OpenStack.

    For example, a simple command for uploading the local vmdk file.
    openstack image create --disk-format vmdk --file local.vmdk \
    --property vmware_adaptertype=paraVirtual \
    --property vmware_disktype=streamOptimized \
    --property vmware_create_template=false \
    --property vmware_template_disk_type=thick \
    --property vmdk_skip_conversion=true \ 
    imagename
    The following options are used for creating the openstack image create command.
    Option Description

    image-name

    Enter the name of the image.

    --disk-format

    Enter the disk format of the image. You must use vmdk.

    --file

    Specify the image file for uploading.

    {--public | private}

    To make the image available to all the users, include the parameter --public.

    To make the image available only to the current user, include the parameter --private.

    --property vmware_adaptertype

    Specify the adapter type of the VMDK disk.

    If you do not include this parameter, the adapter type is determined by introspection.

    Note:
    • For disks using paravirtual adapters, include this parameter and set it to paraVirtual.
    • For disks using LSI Logic SAS adapters, include this parameter and set it to lsiLogicsas.

    --property vmware_disktype

    Specify sparse as the disk type. Otherwise, you can use streamOptimized.

    If you do not include this parameter, the disk type is determined by introspection.

    Note: streamOptimized is the only supported disk type for vSAN datastore.

    --property vmware_create_template

    If true, VMware Integrated OpenStack can convert the image as a vSphere VM template for Nova instances creation. True is the recommended option.
    Note: As the image file is converted to vSphere VM template, you cannot download the image as checksum changed.

    If false, VMware Integrated OpenStack can use the vmdk file as a glance image. With this option, the image can be downloaded using openstack image save.

    --property vmware_template_disk_type

    Specify the provisioning format for the image in vSphere. You can enter thin for thin provision or thick for thick provision lazy zeroed.

    If you do not include this parameter, thin provision is used by default.

    --property vmdk_skip_conversion

    Specify true for skipping the auto image conversion when uploading it by using the openstack image create command. The default value is false.

What to do next

You can now launch instances from the image. In the Actions column next to an image, you can edit or delete the image, update its metadata, launch an instance from the image, or create a volume from the image.