Ensure correct tmp ownership for Gnocchi
Directory /var/lib/gnocchi/tmp is created by gnocchi-upgrade
with root ownership. This patch ensures the directory is created
first with proper ownership.
Closes-Bug: #1799522
Change-Id: Iaf8e13490adffaf4a606730f4758d064af69b2aa
(cherry picked from commit 332dd89f47
)
This commit is contained in:
parent
9e2afdb747
commit
788c90d4a0
|
@ -134,6 +134,14 @@ outputs:
|
|||
USER: {get_param: CephClientUserName}
|
||||
owner: gnocchi:gnocchi
|
||||
perm: '0600'
|
||||
- path:
|
||||
list_join:
|
||||
- "/"
|
||||
- - {get_param: GnocchiFileBasePath}
|
||||
- "tmp"
|
||||
owner: gnocchi:gnocchi
|
||||
perm: '0600'
|
||||
recurse: true
|
||||
/var/lib/kolla/config_files/gnocchi_db_sync.json:
|
||||
command:
|
||||
str_replace:
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
fixes:
|
||||
- |
|
||||
Directory /var/lib/gnocchi/tmp is created by gnocchi-upgrade with root
|
||||
ownership. It is now ensured that the directory is created before upgrade
|
||||
with proper ownership. For details see:
|
||||
https://bugs.launchpad.net/tripleo/+bug/1799522
|
Loading…
Reference in New Issue