Browse Source

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
Swann Croiset 2 years ago
parent
commit
efc75f5302
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      deployment_tasks.yaml

+ 3
- 0
deployment_tasks.yaml View File

@@ -261,6 +261,9 @@
261 261
   # by this plugin and the LMA collector plugin. The dependency chain is like this:
262 262
   # elasticsearch-kibana-configuration -> upload_nodes_info -> (LMA collector tasks)
263 263
   required_for: [upload_nodes_info, post_deployment_end]
264
+  cross-depended-by:
265
+    - name: lma-configure-apt
266
+      role: /.*/
264 267
   parameters:
265 268
     puppet_manifest: puppet/manifests/provision_services.pp
266 269
     puppet_modules: puppet/modules:/etc/puppet/modules

Loading…
Cancel
Save