You can create volume types and expose them to one or more tenants for use in volume creation. Volume types can define a vSphere storage profile and default adapter type.

Note: Barbican encryption is not supported for volumes or volume types.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Select Admin > Volume > Volume Types and click Create Volume Type.
  4. Enter a name and description for the volume type.
  5. If you want to make the volume type available to certain projects only, deselect Public.
    You can configure access to the volume type after it is created.
  6. Click Create Volume Type
    The new volume type is displayed in the Volume Types list.
  7. If you want to associate a vSphere storage profile with the volume type, perform the following steps:
    1. In the Actions column, select View Extra Specs.
    2. Click Create.
    3. Enter vmware:storage_profile in the Key text box.
    4. Enter the name of the vSphere storage profile in the Value text box.
    5. Click Create.
  8. If you want to set a default adapter for the volume type, perform the following steps:
    1. In the Actions column, select View Extra Specs.
    2. Click Create.
    3. Enter vmware:adapter_type in the Key text box.
    4. Enter the adapter type in the Value text box.
      The following values are supported: lsiLogic, busLogic, lsiLogicsas, paraVirtual, and ide.
    5. Click Create.
  9. If your volume type is not public, select Edit Access in the Actions column and specify the projects that can use the volume type.
    If you do not specify any projects, the volume type is visible only to cloud administrators.

Results

Tenants can select a volume type when creating a volume or modifying an existing volume. The settings defined by the specified volume type are then applied to the new volume.

What to do next

If you want to change the name or description of a volume type, click Edit Volume Type in the Actions column and make the desired changes. To delete unneeded volume types, select them in the Volume Types table and click Delete Volume Types.