464fefb1ef
For deployments with a lot of Gnocchi data, this is a non-starter (literally... the service basically can't start.) There maybe needs to be a way to configure this, or only do it during deploy/bootstrap? Unclear, but disabling for now; users can `chown -R gnocchi:gnocchi` themselves in the meantime if need be. Change-Id: I0bae6dfbbee9f63506c89bd6b392e7be07fd5930
44 lines
1.4 KiB
Django/Jinja
44 lines
1.4 KiB
Django/Jinja
{
|
|
"command": "gnocchi-statsd --log-file /var/log/kolla/gnocchi/gnocchi-statsd.log",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/gnocchi.conf",
|
|
"dest": "/etc/gnocchi/gnocchi.conf",
|
|
"owner": "gnocchi",
|
|
"perm": "0600"
|
|
}{% if gnocchi_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ gnocchi_policy_file }}",
|
|
"dest": "/etc/gnocchi/{{ gnocchi_policy_file }}",
|
|
"owner": "gnocchi",
|
|
"perm": "0600"
|
|
}{% endif %}{% if gnocchi_backend_storage == 'ceph' %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "gnocchi",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.gnocchi.keyring",
|
|
"dest": "/etc/ceph/ceph.client.gnocchi.keyring",
|
|
"owner": "gnocchi",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/gnocchi",
|
|
"owner": "gnocchi:gnocchi"
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/gnocchi",
|
|
"owner": "gnocchi:kolla"
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/gnocchi/gnocchi-statsd.*",
|
|
"owner": "gnocchi:gnocchi"
|
|
}
|
|
]
|
|
}
|