3894883871
This patch adds support for external Ceph clusters for Cinder. For clean integration the backend configuration mechanism had to be slightly adjusted. We now have the option to enable multiple backends for Cinder independently. Currently, the flags cinder_backend_iscsi and cinder_backend_ceph are used to toggle backends. Documentation on how to use external ceph was added. Change-Id: I7e0267b90d62d6d881f24f063cdb894422ec8618 Partially-Implements: Blueprint: external-ceph
19 lines
602 B
Django/Jinja
19 lines
602 B
Django/Jinja
{
|
|
"command": "cinder-backup --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": "0700",
|
|
"optional": {{ (not cinder_backend_ceph | bool) | string | lower }}
|
|
}{% endif %}
|
|
]
|
|
}
|