From d1f7ac6f14f74487ac5832012cd8a81477be1344 Mon Sep 17 00:00:00 2001 From: Zuul Date: Tue, 12 Jan 2021 06:03:01 +0000 Subject: [PATCH] Update git submodules * Update tripleo-common from branch 'master' to 02acb41bb36fdc82f12a6c0f14d7a365971705be - Merge "TCIB: Add cinder-volume extend_start.sh script" - TCIB: Add cinder-volume extend_start.sh script Add an extend_start.sh script for the cinder-volume service that recursively chowns /var/lib/cinder to cinder:kolla. This ensures cinder has permission to access the directory, especially in situations where the directory may be owned by root. Just like kolla itself did prior to tripleo's switch to TCIB, the recursive chown is conditional on whether the top level /var/lib/cinder directory isn't already owned by cinder:kolla. This is done so the chown is only run once, which prevents slow service startups when the directory contains a large number of entries. Note: There was an initial fear that a recursive chown could traverse onto any NFS share mounted by cinder. However, the extend_start.sh script runs on container startup, prior to when cinder would create any mounts. Even restarting the cinder-volume container is safe, because NFS shares are automatically unmounted during the container restart. Closes-Bug: #1908750 Change-Id: I2d82c1ca86735d2a8d69b3e28e8cea7acd637f0b --- tripleo-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo-common b/tripleo-common index 5fb9312eda..02acb41bb3 160000 --- a/tripleo-common +++ b/tripleo-common @@ -1 +1 @@ -Subproject commit 5fb9312eda189c63a50b7bddb8154a52ef867a62 +Subproject commit 02acb41bb36fdc82f12a6c0f14d7a365971705be