Comment 7 for bug 1927880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/804334
Committed: https://opendev.org/openstack/kolla-ansible/commit/25ee0b693a89f44a09df1b5c522c553b1f8717fb
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 25ee0b693a89f44a09df1b5c522c553b1f8717fb
Author: Scott Shambarger <email address hidden>
Date: Thu May 13 14:08:32 2021 -0700

    fluentd: Fix check for external elasticsearch

    When enable_elasticsearch is False, and kolla_internal_fqdn is set
    and elasticsearch_address is the default, fluentd is still enabling
    output to elasticsearch.

    elasticsearch_address defaults to kolla_internal_fqdn, but the
    check to enable logging to an "external" elasticsearch host
    compares with kolla_internal_vip_address (fqdn != vip address).

    This patch fixes the comparison to use the kolla_internal_fqdn.

    Closes-Bug: #1927880
    Change-Id: If23a6b1273c2639d1296becc9d222546d52f63ac