c9eaf9158b
Implements compute part of the blueprint. Make virt_type of nova_compute configerable. Change-Id: I0f37e49e09c4f14a64797506007bb55a6f534f0f Partially-implements: blueprint kolla-ansible-support-vsphere Co-Authored-By: shaofeng cheng <chengsf@winhong.com>
43 lines
1.2 KiB
Django/Jinja
43 lines
1.2 KiB
Django/Jinja
{
|
|
"command": "nova-compute",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/nova.conf",
|
|
"dest": "/etc/nova/nova.conf",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/nova/policy.json",
|
|
"owner": "nova",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}{% if nova_backend == "rbd" %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.*",
|
|
"dest": "/etc/ceph/",
|
|
"owner": "nova",
|
|
"perm": "0700"
|
|
}{% 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 %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|