The first attempt to create a test backup of a Cinder volume on an NFS share fails with a permission denied error.

Problem

Attempting to verify the Cinder backup configuration results in a permission error when creating the initial backup.

Cause

VMware Integrated OpenStack does not have the correct permissions to write to the NFS share.

Solution

  1. Using SSH, log in to the controller node as the root user.
  2. Go to the mount directory for the Cinder backup configuration.
    cd /var/lib/cinder/backup_mount/
  3. Change the folder owner from root to cinder.
    chown -R cinder:cinder *

Solution

This corrects the configuration and gives the Cinder component permission to access the NFS share.