commit 95f30ea6edc093d9d29a2197c79a7e0b7427728b
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.
Closes-Bug: #1807760
Change-Id: I6c20c4825af0a365b6a20fb633c810c2f2fe48b0
(cherry picked from commit 1fb342cba89e63d15dde9db2136bdf34b549e559)
Reviewed: https:/ /review. openstack. org/631856 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=95f30ea6edc 093d9d29a2197c7 9a7e0b7427728b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 95f30ea6edc093d 9d29a2197c79a7e 0b7427728b
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 15dde9db2136bdf 34b549e559)
Change-Id: I6c20c4825af0a3
(cherry picked from commit 1fb342cba89e63d