summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-06-01 14:38:06 -0400
committerJason DeTiberus <detiber@gmail.com>2016-06-01 14:38:06 -0400
commit54186e0e5022a827e6ffdeaffabcb5403bebe6e6 (patch)
treeadabc2eab84c557b68438bcdf3bf4bf721361cfe /roles/openshift_metrics
parent1c6787d2692a8060580b0e6ff37a26b87d08c701 (diff)
parent708fbb0b85a76dbbef41fe6a9ae646c8662c77d9 (diff)
downloadopenshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.gz
openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.bz2
openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.tar.xz
openshift-54186e0e5022a827e6ffdeaffabcb5403bebe6e6.zip
Merge pull request #1957 from jfcoz/metrics_wait_deployer
wait metrics-deployer complete (need to configure nodes before hosted…
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r--roles/openshift_metrics/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml
index bee1bab90..43b85204a 100644
--- a/roles/openshift_metrics/tasks/main.yaml
+++ b/roles/openshift_metrics/tasks/main.yaml
@@ -54,3 +54,11 @@
command: >
rm -rf {{hawkular_tmp_conf}}
changed_when: false
+
+- name: "Wait for image pull and deployer pod"
+ shell: "{{ openshift.common.client_binary }} get pods -n openshift-infra | grep metrics-deployer.*Completed"
+ register: result
+ until: result.rc == 0
+ retries: 60
+ delay: 10
+