By default, empty volumes are created with the LSI Logic Parallel adapter type. You can change the default adapter type for new volumes by modifying your deployment configuration.

Note: When a volume is created from an image, the value of the vmware_adaptertype metadata in the image is used to determine the adapter type for the volume.

VMware Integrated OpenStack supports the following adapter types:

  • LSI Logic Parallel: lsiLogic
  • BusLogic Parallel: busLogic
  • LSI Logic SAS: lsiLogicsas
  • VMware Paravirtual SCSI: paraVirtual
  • IDE: ide

Procedure

  1. Log in to the OpenStack Management Server as viouser.
  2. If your deployment is not using a custom.yml file, copy the template custom.yml file to the /opt/vmware/vio/custom directory.
    sudo mkdir -p /opt/vmware/vio/custom
    sudo cp /var/lib/vio/ansible/custom/custom.yml.sample /opt/vmware/vio/custom/custom.yml
  3. Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
  4. Uncomment the cinder_volume_default_adapter_type parameter and set its value to the desired adapter type.
  5. Deploy the updated configuration.
    sudo viocli deployment configure

    Deploying the configuration briefly interrupts OpenStack services.

Results

New volumes use the specified adapter type by default.