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
43 lines
1.3 KiB
Django/Jinja
43 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "cinder-volume --config-file /etc/cinder/cinder.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/cinder.conf",
|
|
"dest": "/etc/cinder/cinder.conf",
|
|
"owner": "cinder",
|
|
"perm": "0600"
|
|
}{% if cinder_backend_ceph | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph",
|
|
"dest": "/etc/ceph",
|
|
"owner": "cinder",
|
|
"perm": "0600"
|
|
}{% endif %},
|
|
{
|
|
"source": "{{ container_config_directory }}/nfs_shares",
|
|
"dest": "/etc/cinder/nfs_shares",
|
|
"owner": "cinder",
|
|
"perm": "0600",
|
|
"optional": {{ (not enable_cinder_backend_nfs | bool) | string | lower }}
|
|
}{% if cinder_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ cinder_policy_file }}",
|
|
"dest": "/etc/cinder/{{ cinder_policy_file }}",
|
|
"owner": "cinder",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/cinder",
|
|
"owner": "cinder:cinder",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/cinder",
|
|
"owner": "cinder:cinder",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|