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
31 lines
1006 B
Django/Jinja
31 lines
1006 B
Django/Jinja
{
|
|
"command": "manila-share --config-file /etc/manila/manila.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/manila.conf",
|
|
"dest": "/etc/manila/manila.conf",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% if enable_manila_backend_cephfs_native | bool or enable_manila_backend_cephfs_nfs | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph",
|
|
"dest": "/etc/ceph",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% endif %}{% if manila_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ manila_policy_file }}",
|
|
"dest": "/etc/manila/{{ manila_policy_file }}",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/manila",
|
|
"owner": "manila:manila",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|