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
- Log in to the OpenStack Management Server as
viouser
.
- 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
- Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
- Uncomment the cinder_volume_default_adapter_type parameter and set its value to the desired adapter type.
- 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.