diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-10 01:36:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 01:36:20 -0800 |
commit | 3625cb596bfdeba027e9e3ed364b2102899edfcd (patch) | |
tree | 396f1991f82557eed4ea3c3c7568fc4adb85d53f /roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml | |
parent | 4a3786539efad2ad41733ab521fc2e8e1ab87d9c (diff) | |
parent | ceca2f9a8cbc11095c2fac20fcc789a61c424098 (diff) | |
download | openshift-3625cb596bfdeba027e9e3ed364b2102899edfcd.tar.gz openshift-3625cb596bfdeba027e9e3ed364b2102899edfcd.tar.bz2 openshift-3625cb596bfdeba027e9e3ed364b2102899edfcd.tar.xz openshift-3625cb596bfdeba027e9e3ed364b2102899edfcd.zip |
Merge pull request #6602 from ewolinetz/es_full_cluster_restart
Automatic merge from submit-queue.
Adding logic to do a full cluster restart if we are incrementing our …
…major versions of ES
This will help with the upgrade from 2.x to 5.x for ES, it also fixes something I came across with the handler on 3.7 where it checks the prior deployed version of the ES pod rather than the new one.
Diffstat (limited to 'roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml')
-rw-r--r-- | roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml b/roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml index b07b232ce..6d0df40c8 100644 --- a/roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml +++ b/roles/openshift_logging_elasticsearch/tasks/restart_es_node.yml @@ -14,6 +14,8 @@ - _dc_output.results.results[0].status is defined - _dc_output.results.results[0].status.readyReplicas is defined - _dc_output.results.results[0].status.readyReplicas > 0 + - _dc_output.results.results[0].status.updatedReplicas is defined + - _dc_output.results.results[0].status.updatedReplicas > 0 retries: 60 delay: 30 |