Creating a backup of a Cinder volume on an NFS share fails with a memory error.

Problem

Attempting to create backup of a Cinder volume results in an out of memory error.

Cause

There is lack of available memory on the controller.

Solution

  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. Edit the /opt/vmware/vio/custom/custom.yml file.
    1. Depending on the available controller memory, reduce the value of the cinder_backup_file_size parameter.
    2. Change = symbol following the cinder_backup_file_size parameter to :.
      For example,
      cinder_backup_file_size: 52428800
  3. Save the custom.yml file.
  4. Push the new configuration to your VMware Integrated OpenStack deployment.
    viocli deployment -v configure --limit controller