By default, the Block Storage upload-to-image feature creates a Glance image from a Cinder volume that is stored and organized as a VM template. You can modify this behavior so that the images are stored as streamOptimized VMDK disks instead.
About this task
Before VMware Integrated OpenStack 4.0, the default behavior was to store the Glance images as streamOptimized VMDK disks. This procedure enables you to restore the pre-4.0 default.
Procedure
- Implement the custom.yml file.
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_image_format parameter.
- Change the setting to streamOptimized.
##############################
# Glance Template Store
# options that affect the use of glance template store
##############################
#glance_default_store: vi
#nova_snapshot_format: template
cinder_image_format: streamOptimized
- Save the custom.yml file.
- Push the new configuration to your VMware Integrated OpenStack deployment.
viocli deployment configure
Note:
Pushing the configuration briefly interrupts OpenStack services.