Comment 3 for bug 1864193

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/709143
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=8e2e5f7e82efde39407d34c1a26daffb97dbe26d
Submitter: Zuul
Branch: master

commit 8e2e5f7e82efde39407d34c1a26daffb97dbe26d
Author: Kevin Smith <email address hidden>
Date: Fri Feb 21 07:56:04 2020 -0500

    Set elasticsearch pod java options according to ip config

    The "-Djava.net.preferIPv6Addresses=true" java option was set
    for both ipv4 and ipv6 configurations which worked fine in both
    configs. At some point recently in ipv4 configurations, the
    stx-monitor application stopped applying successfully due to
    elasticsearch cluster discovery failure. Why the ipv4 failures
    are only recently occurring is unknown, but removal of this
    unnecessary java option for ipv4 eliminates the failures.

    This update will set the above java option for elasticsearch
    pods only if the cluster service network is ipv6.

    Closes-Bug: 1864193

    Change-Id: I2952f1c799b121d0812314156162af7696ebd6b0
    Signed-off-by: Kevin Smith <email address hidden>