File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
ansible/roles/common/templates Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% if enable_swift | bool and (inventory_hostname in groups ['swift-proxy-server' ] or inventory_hostname in groups ['swift-account-server' ] or inventory_hostname in groups ['swift-container-server' ] or inventory_hostname in groups ['swift-object-server' ]) %}
1
2
<match syslog.{{ syslog_swift_facility }}.** >
2
3
@type copy
3
4
<store >
58
59
</store >
59
60
{% endif %}
60
61
</match >
62
+ {% endif %}
61
63
64
+ {% if enable_haproxy | bool and inventory_hostname in groups ['haproxy' ] %}
62
65
<match syslog.{{ syslog_haproxy_facility }}.** >
63
66
@type copy
64
67
<store >
121
124
</store >
122
125
{% endif %}
123
126
</match >
127
+ {% endif %}
124
128
125
129
{% if glance_enable_tls_backend | bool %}
126
130
<match syslog.{{ syslog_glance_tls_proxy_facility }}.** >
Original file line number Diff line number Diff line change 29
29
"owner": "{{ fluentd_user }}:{{ fluentd_user }}",
30
30
"recurse": true
31
31
},
32
+ {% if enable_haproxy | bool and inventory_hostname in groups ['haproxy' ] %}
32
33
{
33
34
"path": "/var/log/kolla/haproxy",
34
35
"owner": "{{ fluentd_user }}:{{ fluentd_user }}",
35
36
"recurse": true
36
37
},
38
+ {% endif %}
37
39
{% if glance_enable_tls_backend | bool %}
38
40
{
39
41
"path": "/var/log/kolla/glance-tls-proxy",
48
50
"recurse": true
49
51
},
50
52
{% endif %}
53
+ {% if enable_swift | bool and (inventory_hostname in groups ['swift-proxy-server' ] or inventory_hostname in groups ['swift-account-server' ] or inventory_hostname in groups ['swift-container-server' ] or inventory_hostname in groups ['swift-object-server' ]) %}
51
54
{
52
55
"path": "/var/log/kolla/swift",
53
56
"owner": "{{ fluentd_user }}:{{ fluentd_user }}",
54
57
"recurse": true
55
58
},
59
+ {% endif %}
56
60
{
57
61
"path": "/var/lib/fluentd/data",
58
62
"owner": "{{ fluentd_user }}:{{ fluentd_user }}",
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ No longer creates directories for haproxy and swift logs where they
5
+ are not needed.
6
+ `LP#1945070 <https://launchpad.net/bugs/1945070>`__
You can’t perform that action at this time.
0 commit comments