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.

Before VMware Integrated OpenStack 2.5, the default behavior was to store the Glance images as streamOptimized VMDK disks. This procedure enables you to restore the pre-2.5 default.

Procedure

  1. 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
  2. Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
    1. Uncomment the cinder_image_format parameter.
    2. 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
  3. Save the custom.yml file.
  4. Push the new configuration to your VMware Integrated OpenStack deployment.
    viocli deployment configure
    Note:

    Pushing the configuration briefly interrupts OpenStack services.