Ask Your Question
0

SoftwareDeployment and nested stacks

asked 2015-01-19 09:55:36 -0500

job gravatar image

Hi,

I'd like to accomplish a deployment logic with dependencies with heat.

Parent template:

-SoftwareDeployment 1 
--Server: nas_server.yaml

-SoftwareDeployment 2 
--Server: database_server.yaml

-SoftwareDeployment 3
--Depends on: SoftwareDeployment 2
--Server: web_server.yaml

I'm using SoftwareDeployment in the parent template to create the resources defined in other templates but I'm getting the following error:

'file:///home/nas_server.yaml' object has no attribute 'user_data_software_config'

Any ideas why?

Thanks,

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-01-26 14:23:00 -0500

zaneb gravatar image

That isn't a template and there's nowhere near enough information here to tell what's actually in your templates.

However, it sounds like the issue is that you appear to believe that the SoftwareDeployment creates nested stacks if you pass it a template. It doesn't. SoftwareDeployments deploy software to existing servers. You need to create the servers first and then pass their UUIDs to the SoftwareDeployment.

edit flag offensive delete link more
1

answered 2015-02-02 15:48:42 -0500

Steve Baker gravatar image

Take a look at the official hot-guide software-deployment section.

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: 2015-01-19 09:55:36 -0500

Seen: 178 times

Last updated: Feb 02 '15