Comment 5 for bug 2019557

Revision history for this message
Wodel Youchi (wodel) wrote (last edit ):

Hi,

I tried the proposed fix https://review.opendev.org/c/openstack/kolla/+/883358, fluent-plugin-elasticsearch-5.3.0 is still being installed, I did confirm that using dive.

I tried this fix :

{# NOTE(frickler): Downgrading elasticsearch gems for compatibility with OSS versions of ES #}
{{ macros.install_fluent_plugins(fluentd_plugins | customizable("plugins")) }} \
    && td-agent-gem install elasticsearch:7.13.0 \
    && td-agent-gem install "fluent-plugin-elasticsearch:5.2.5" \ <---------------------
    && td-agent-gem uninstall "elasticsearch:>7.13.0" \
    && td-agent-gem uninstall "elasticsearch-api:>7.13.0" \
    && td-agent-gem uninstall "elasticsearch-transport:>7.13.0" \
    && td-agent-gem uninstall "elastic-transport:>7.13.0" \
    && td-agent-gem uninstall "fluent-plugin-elasticsearch:>=5.3.0" <----------------------

Using this, I got a working fluentd container after deployment.

Regards.