By default, Nova snapshots are Glance images that are stored and organized as VM templates in the vCenter configured for VMware Integrated OpenStack. You can modify this behavior so that snapshots are stored as streamOptimized VMDK disks instead.

About this task

Before VMware Integrated OpenStack 2.5, the default behavior was to store Nova snapshots 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 nova_snapshot_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: streamOptimized
      #cinder_image_format: template
  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.