Elasticserach is warning because index templates are created too late

Bug #1632590 reported by Swann Croiset
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Swann Croiset

Bug Description

The LMA collectors can push logs before the creation of index template which leads to have the first index with a wrong number_of_replicas and wrong field indexation settings.
With one ES node, this leads to have the Elasticsearch cluster to WARNING status because the replica number can not be honored

Changed in lma-toolchain:
assignee: nobody → Swann Croiset (swann-w)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-plugin-influxdb-grafana (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/385414

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugin-influxdb-grafana (master)

Reviewed: https://review.openstack.org/385414
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-influxdb-grafana/commit/?id=650f96340f20681f17ed116e84db62239c3b393f
Submitter: Jenkins
Branch: master

commit 650f96340f20681f17ed116e84db62239c3b393f
Author: Simon Pasquier <email address hidden>
Date: Wed Oct 12 10:52:19 2016 +0200

    Fix task dependency with the LMA collector plugin

    This change ensures that on MOS 9.x, the LMA collectors aren't deployed
    before the InfluxDB service is provisioned.

    Change-Id: I16131e5776aa09fce723956e6b070dacdf0031c5
    Related-Bug: #1632590

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-elasticsearch-kibana (master)

Reviewed: https://review.openstack.org/384948
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-elasticsearch-kibana/commit/?id=efc75f5302a1b983cf2e39793fedc76b72cb6c25
Submitter: Jenkins
Branch: master

commit efc75f5302a1b983cf2e39793fedc76b72cb6c25
Author: Swann Croiset <email address hidden>
Date: Wed Oct 12 10:45:35 2016 +0200

    Create ES templates earlier

    The LMA collectors can push logs before the creation of index template
    which leads to have the first index with a wrong number_of_replicas and
    wrong field indexation settings.

    Closes-Bug: #1632590
    Change-Id: Id166f6e0aea67b60c5c38cc6a4a69ece4928634e

Changed in lma-toolchain:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.