Merge "Ensure correct tmp ownership for Gnocchi"

This commit is contained in:
Zuul 2018-11-15 04:31:21 +00:00 committed by Gerrit Code Review
commit b76bec7dc2
2 changed files with 16 additions and 0 deletions

View File

@ -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:

View 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