aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2013-10-10 13:56:30 +1300
committerRobert Collins <rbtcollins@hp.com>2013-10-10 14:21:21 +1300
commit9a745e8167adee395cae705d234d29d360d8b69b (patch)
tree8afcc6175efd6c4d048a2e16e3605cdacc8e3c8a
parente48aa3e4b6392081c4c1fbe31c34eac866af583c (diff)
Add a waitcondition for signalling stack-up.
Without this we need horrible hacks to detect whether the cloud is ready to use. Change-Id: Ic5c5fd16c6c283d3d339e1f1238d3349d0b93f7c
-rw-r--r--overcloud-source.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 442a21ee..98c38540 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -81,6 +81,15 @@ Resources:
UserName:
Ref: User
Type: AWS::IAM::AccessKey
+ CompletionCondition:
+ Type: AWS::CloudFormation::WaitCondition
+ DependsOn: notcompute
+ Properties:
+ Handle: {Ref: CompletionHandle}
+ Count: '1'
+ Timeout: '1800'
+ CompletionHandle:
+ Type: AWS::CloudFormation::WaitConditionHandle
ComputeKey:
Properties:
UserName:
@@ -138,6 +147,8 @@ Resources:
volume_size_mb: '5000'
service-password:
Ref: CinderPassword
+ completion-handle:
+ Ref: CompletionHandle
controller-address:
Fn::Select:
- 0