Merge "Set a chunk size for Fluentd bulk log upload to Monasca"

This commit is contained in:
Zuul 2020-07-02 11:29:02 +00:00 committed by Gerrit Code Review
commit 2a2a62000e
3 changed files with 20 additions and 0 deletions

View File

@ -52,6 +52,9 @@
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ syslog_swift_facility }}.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
chunk_limit_size 8m
</buffer>
</store>
{% endif %}
</match>
@ -112,6 +115,9 @@
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ syslog_haproxy_facility }}.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
chunk_limit_size 8m
</buffer>
</store>
{% endif %}
</match>
@ -169,6 +175,9 @@
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ syslog_glance_tls_proxy_facility }}.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
chunk_limit_size 8m
</buffer>
</store>
{% endif %}
</match>

View File

@ -14,5 +14,8 @@
buffer_path /var/lib/fluentd/data/monasca.buffer/openstack.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
chunk_limit_size 8m
</buffer>
</store>
</match>

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes `LP#1885885
<https://bugs.launchpad.net/kolla-ansible/+bug/1885885>`__ where the
default chunk size in the Monasca Fluentd output plugin increased from
8MB to 256MB for file buffering which exceeded the limit allowed by
the Monasca Log / Unified API.