Code Review
/
dcaegen2
/
platform
/
blueprints.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f0803cf
)
Fix consul join prematurely problem
39/19639/1
author
Lusheng Ji
<lji@research.att.com>
Thu, 19 Oct 2017 04:14:58 +0000
(
00:14
-0400)
committer
Lusheng Ji
<lji@research.att.com>
Thu, 19 Oct 2017 04:15:07 +0000
(
00:15
-0400)
Issue-Id: DCAEGEN2-128
Change-Id: Ife91f88000652a1ce1bde55d2c78dedce83f026a
Signed-off-by: Lusheng Ji <lji@research.att.com>
blueprints/consul_cluster.yaml-template
patch
|
blob
|
history
diff --git
a/blueprints/consul_cluster.yaml-template
b/blueprints/consul_cluster.yaml-template
index
6bf9eaf
..
a4ae89e
100644
(file)
--- 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
1
5; done'
+ - '; do sleep 5; done'
relationships:
- type: cloudify.openstack.server_connected_to_port