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
This commit is contained in:
parent
635068aad4
commit
332dd89f47
@ -132,6 +132,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:
|
||||
|
8
releasenotes/notes/gnocchi-tmp-b5b48708c5dd17df.yaml
Normal file
8
releasenotes/notes/gnocchi-tmp-b5b48708c5dd17df.yaml
Normal file
@ -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
Block a user