kolla-ansible/ansible/roles/zun/templates/zun-compute.json.j2
Eduardo Gonzalez a1291fdecd Fix zun-api logging and state_path
Zun-api is using app.wsgi as log filename.
This change forzes zun-api.log to ease identification.
Also changes group owner of log dir to kolla group.
Remove glance version as is in zun's defaults
Set state_path, this is where zun will store catched images,
similar as nova cache. No need HA or volume as is only
cached data.

Change-Id: I20f8d311bfde1c0a07d7d35e9f1412c71efa8504
2017-07-10 15:52:16 +02:00

26 lines
649 B
Django/Jinja

{
"command": "zun-compute --config-file /etc/zun/zun.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/zun.conf",
"dest": "/etc/zun/zun.conf",
"owner": "zun",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",
"dest": "/etc/zun/policy.json",
"owner": "zun",
"perm": "0600",
"optional": true
}
],
"permissions": [
{
"path": "/var/log/kolla/zun",
"owner": "zun:kolla",
"recurse": true
}
]
}