fdf2385f14
This patch is adding a feature for an option to copy different ceph configuration files and corresponding keyrings for cinder, glance, manila, gnocchi and nova services. This is especially useful when the deployment uses availability zones as below example. - Individual compute can read/write to individual ceph cluster in same AZ. - Cinder can write to several ceph clusters in several AZs. - Glance can use multistore and upload images to several ceph clusters in several AZs at once. Change-Id: Ie4d8ab5a3df748137835cae1c943b9180cd10eb1
38 lines
1.1 KiB
Django/Jinja
38 lines
1.1 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",
|
|
"dest": "/etc/ceph",
|
|
"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"
|
|
}
|
|
]
|
|
}
|