Access is denied within a tmp dir created during the snapshot attempt:
$ sudo ls -al /var/lib/nova/instances/snapshots/tmpkajuir8o
total 204
drwx-----x 2 nova nova 4096 Sep 23 19:12 .
drwxr-x--- 3 nova nova 4096 Sep 23 19:12 ..
-rw-r--r-- 1 nova nova 197248 Sep 23 19:12 0ece1fb912104f2c849ea4bd6036712c.delta
If I chmod /var/lib/nova/instances/snapshots/tmpkajuir8o to 777 the snapshot is successful.
In that case the user/group of the delta file changes from nova:nova to libvirt-qemu:kvm. So it appears that libvirt-qemu needs access to the tmp directory.
The tmp directory is created at run-time and I'm not yet sure how the permissions are determined. The --x for other seems odd.
Access is denied within a tmp dir created during the snapshot attempt:
$ sudo ls -al /var/lib/ nova/instances/ snapshots/ tmpkajuir8o c849ea4bd603671 2c.delta
total 204
drwx-----x 2 nova nova 4096 Sep 23 19:12 .
drwxr-x--- 3 nova nova 4096 Sep 23 19:12 ..
-rw-r--r-- 1 nova nova 197248 Sep 23 19:12 0ece1fb912104f2
If I chmod /var/lib/ nova/instances/ snapshots/ tmpkajuir8o to 777 the snapshot is successful.
In that case the user/group of the delta file changes from nova:nova to libvirt-qemu:kvm. So it appears that libvirt-qemu needs access to the tmp directory.
The tmp directory is created at run-time and I'm not yet sure how the permissions are determined. The --x for other seems odd.