Ask Your Question
0

heat template create multiple instances

asked 2013-10-02 23:00:55 -0500

nora gravatar image

updated 2013-10-02 23:18:11 -0500

Hi, I have encountered a problem when I try to create multiple instances using heat template.

"ChefClientWaitCondition" : { "Type" : "AWS::CloudFormation::WaitCondition", "DependsOn" : ["ChefClient","ChefClient2","ChefClient3"], "Properties" : { "Count" : "3", "Handle" : { "Ref" : "ChefClientWaitHandle" }, "Timeout" : "1800" } }

This code intends to wait 3 signals, which depends on 3 resources: ChefClient, ChefClient2, ChefClient3. However when use "heat create",

ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.

I find out that it is because DependsOn attribute's problem. If I change into "DependsOn" : "ChefClient", then it works. Is it because heat template does not support DependsOn multi-value? However, AWS Cloudformation support this. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-04 17:36:05 -0500

Steve Baker gravatar image

The currently implementation of DependsOn only supports a single value.

A bug has been raised to track this being implemented https://bugs.launchpad.net/heat/+bug/1235496

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-02 23:00:55 -0500

Seen: 1,149 times

Last updated: Oct 04 '13