diff options
author | Lusheng Ji <lji@research.att.com> | 2017-10-19 00:14:58 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-10-19 00:15:07 -0400 |
commit | dae872dcf4dfa3327ee9a089b3a1124b769ff2b8 (patch) | |
tree | 21a173287e2e69930d0665a9e3548cda162fab2b | |
parent | f0803cfd59aff145028cb424445a9a1e459925f9 (diff) |
Fix consul join prematurely problem
Issue-Id: DCAEGEN2-128
Change-Id: Ife91f88000652a1ce1bde55d2c78dedce83f026a
Signed-off-by: Lusheng Ji <lji@research.att.com>
-rw-r--r-- | blueprints/consul_cluster.yaml-template | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/blueprints/consul_cluster.yaml-template b/blueprints/consul_cluster.yaml-template index 6bf9eaf..a4ae89e 100644 --- a/blueprints/consul_cluster.yaml-template +++ b/blueprints/consul_cluster.yaml-template @@ -199,9 +199,11 @@ node_templates: - concat: - 'until /opt/consul/bin/consul join ' - { get_attribute: [host_cnsl01, ip] } - - ' ' + - '; do sleep 5; done; ' + - concat: + - 'until /opt/consul/bin/consul join ' - { get_attribute: [host_cnsl02, ip]} - - '; do sleep 15; done' + - '; do sleep 5; done' relationships: - type: cloudify.openstack.server_connected_to_port |