commit 1fb342cba89e63d15dde9db2136bdf34b549e559
Author: Alan Bishop <email address hidden>
Date: Mon Dec 10 15:18:56 2018 -0500
Fix permissions with NFS-backed snapshots and backups
Fix snapshot issues that occur if cinder does not have regular (non-root)
write permission on an NFS share. This is done by following the volume
driver's model of creating files as root, followed by calling
_set_rw_permissions().
Fix backup issues that occur if cinder's group ID changes, which can
happen when migrating from bare metal to a containerized service. If the
share's group ownership and permission needs to be modified, then do it
recursively so that previously made backups remain accessible.
Reviewed: https:/ /review. openstack. org/624193 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=1fb342cba89 e63d15dde9db213 6bdf34b549e559
Committed: https:/
Submitter: Zuul
Branch: master
commit 1fb342cba89e63d 15dde9db2136bdf 34b549e559
Author: Alan Bishop <email address hidden>
Date: Mon Dec 10 15:18:56 2018 -0500
Fix permissions with NFS-backed snapshots and backups
Fix snapshot issues that occur if cinder does not have regular (non-root) rw_permissions( ).
write permission on an NFS share. This is done by following the volume
driver's model of creating files as root, followed by calling
_set_
Fix backup issues that occur if cinder's group ID changes, which can
happen when migrating from bare metal to a containerized service. If the
share's group ownership and permission needs to be modified, then do it
recursively so that previously made backups remain accessible.
Closes-Bug: #1807760 65b6a20fb633c81 0c2f2fe48b0
Change-Id: I6c20c4825af0a3