ffafebf87c
Introduced nova backend selection flag for Ceph and priority if multiple backends are configured Add mechanism to deploy arbitrary ceph.conf and keyring files into nova-compute and nova-libvirt containers Added documentation Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b Implements: blueprint external-ceph
30 lines
883 B
Django/Jinja
30 lines
883 B
Django/Jinja
{
|
|
"command": "/usr/sbin/libvirtd --listen",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/libvirtd.conf",
|
|
"dest": "/etc/libvirt/libvirtd.conf",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/qemu.conf",
|
|
"dest": "/etc/libvirt/qemu.conf",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
}{% if nova_backend == "rbd" %},
|
|
{
|
|
"source": "{{ container_config_directory }}/secrets",
|
|
"dest": "/etc/libvirt/secrets",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
]
|
|
}
|