Fix gnocchi upgrade permission issue

Change-Id: If22b6cf9fa3ce9f1c18e4c9a71c637e96e7c2347
Partial-Bug: #1631503
This commit is contained in:
zhubingbing 2016-10-18 11:36:58 +08:00 committed by Jeffrey Zhang
parent 239c0c66fe
commit ba1eb03565
3 changed files with 41 additions and 0 deletions

View File

@ -34,5 +34,16 @@
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/lib/gnocchi",
"owner": "gnocchi:gnocchi",
"recurse": true
},
{
"path": "/var/log/kolla/gnocchi",
"owner": "gnocchi:kolla"
}
]
}

View File

@ -19,5 +19,20 @@
"owner": "gnocchi",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/lib/gnocchi",
"owner": "gnocchi:gnocchi",
"recurse": true
},
{
"path": "/var/log/kolla/gnocchi",
"owner": "gnocchi:kolla"
},
{
"path": "/var/log/kolla/gnocchi/gnocchi-metricd.*",
"owner": "gnocchi:gnocchi"
}
]
}

View File

@ -19,5 +19,20 @@
"owner": "gnocchi",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/lib/gnocchi",
"owner": "gnocchi:gnocchi",
"recurse": true
},
{
"path": "/var/log/kolla/gnocchi",
"owner": "gnocchi:kolla"
},
{
"path": "/var/log/kolla/gnocchi/gnocchi-statsd.*",
"owner": "gnocchi:gnocchi"
}
]
}