{
    "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 }}/{{ nova_cell_ceph_backend['cluster'] }}.client.{{ nova_cell_ceph_backend['vms']['user'] }}.keyring",
            "dest": "/etc/ceph/{{ nova_cell_ceph_backend['cluster'] }}.client.{{ nova_cell_ceph_backend['vms']['user'] }}.keyring",
            "owner": "nova",
            "perm": "0600"
        },
        {
            "source": "{{ container_config_directory }}/{{ nova_cell_ceph_backend['cluster'] }}.conf",
            "dest": "/etc/ceph/{{ nova_cell_ceph_backend['cluster'] }}.conf",
            "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
        },
        {
            "source": "{{ container_config_directory }}/hostnqn",
            "dest": "/etc/nvme/hostnqn",
            "owner": "root",
            "perm": "0644"
        }{% if nova_compute_virt_type in ['kvm', 'qemu'] and libvirt_enable_sasl | bool %},
        {
            "source": "{{ container_config_directory }}/auth.conf",
            "dest": "/var/lib/nova/.config/libvirt/auth.conf",
            "owner": "nova",
            "perm": "0600"
        }{% endif %}{% if nova_cell_compute_provider_config is defined %},
        {
            "source": "{{ container_config_directory }}/provider_config.yaml",
            "dest": "/etc/nova/provider_config/provider_config.yaml",
            "owner": "nova",
            "perm": "0600"
        }{% endif %}{% if vendordata_file_path is defined %},
        {
            "source": "{{ container_config_directory }}/vendordata.json",
            "dest": "/etc/nova/vendordata.json",
            "owner": "nova",
            "perm": "0600"
        }{% endif %}{% if kolla_copy_ca_into_containers | bool %},
        {
            "source": "{{ container_config_directory }}/ca-certificates",
            "dest": "/var/lib/kolla/share/ca-certificates",
            "owner": "root",
            "perm": "0600"
        }{% endif %}
    ],
    "permissions": [
        {
            "path": "/var/log/kolla/nova",
            "owner": "nova:nova",
            "recurse": true
        },
        {
            "path": "/var/lib/nova",
            "owner": "nova:nova",
            "recurse": true
        }
    ]
}
