1f929336e3
Introduce user modifiable variables instead of fixed-names of Ceph keyring files for external Ceph functionality. Change-Id: I1a33b3f9d6eca5babf53b91187461e43aef865ce
73 lines
2.3 KiB
Django/Jinja
73 lines
2.3 KiB
Django/Jinja
{
|
|
"command": "nova-compute",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/nova.conf",
|
|
"dest": "/etc/nova/nova.conf",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% if nova_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ nova_policy_file }}",
|
|
"dest": "/etc/nova/{{ nova_policy_file }}",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}{% if nova_backend == "rbd" %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ceph_nova_keyring }}",
|
|
"dest": "/etc/ceph/{{ ceph_nova_keyring }}",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}{% if nova_compute_virt_type == "vmware" and not vmware_vcenter_insecure | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/vmware_ca",
|
|
"dest": "/etc/nova/vmware_ca",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}{% if libvirt_tls | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/clientkey.pem",
|
|
"dest": "/etc/pki/libvirt/private/clientkey.pem",
|
|
"owner": "root:nova",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/clientcert.pem",
|
|
"dest": "/etc/pki/libvirt/clientcert.pem",
|
|
"owner": "root:nova",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/cacert.pem",
|
|
"dest": "/etc/pki/CA/cacert.pem",
|
|
"owner": "root:nova",
|
|
"perm": "0640"
|
|
}{% endif %},
|
|
{
|
|
"source": "{{ container_config_directory }}/release",
|
|
"dest": "/etc/nova/release",
|
|
"owner": "nova",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|