0b132775eb
The config.json template for neutron-ovn-metadata-agent uses a hard-coded policy file name of policy.json. This prevents use of a policy.yaml file with this service. This patch fixes this. TrivialFix Change-Id: Ib96d68f1dc60a0cbb5b79302c1face9c2272946a
36 lines
1.2 KiB
Django/Jinja
36 lines
1.2 KiB
Django/Jinja
{
|
|
"command": "neutron-ovn-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/neutron_ovn_metadata_agent.ini",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/neutron.conf",
|
|
"dest": "/etc/neutron/neutron.conf",
|
|
"owner": "neutron",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/neutron_ovn_metadata_agent.ini",
|
|
"dest": "/etc/neutron/neutron_ovn_metadata_agent.ini",
|
|
"owner": "neutron",
|
|
"perm": "0600"
|
|
}
|
|
{% if neutron_policy_file is defined %},{
|
|
"source": "{{ container_config_directory }}/{{ neutron_policy_file }}",
|
|
"dest": "/etc/neutron/{{ neutron_policy_file }}",
|
|
"owner": "neutron",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/neutron",
|
|
"owner": "neutron:neutron",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/neutron/kolla",
|
|
"owner": "neutron:neutron",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|