a1291fdecd
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
34 lines
1.0 KiB
Django/Jinja
34 lines
1.0 KiB
Django/Jinja
{% set zun_cmd = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %}
|
|
{% set zun_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %}
|
|
{
|
|
"command": "{{ zun_cmd }} -DFOREGROUND",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/zun.conf",
|
|
"dest": "/etc/zun/zun.conf",
|
|
"owner": "zun",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/wsgi-zun.conf",
|
|
"dest": "/etc/{{ zun_dir }}/wsgi-zun.conf",
|
|
"owner": "root",
|
|
"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
|
|
}
|
|
]
|
|
}
|