Ask Your Question
0

Heat SoftwareDeployment and instance boot

asked 2015-04-02 02:20:29 -0500

ZJ gravatar image

updated 2015-04-03 08:54:40 -0500

Hi,

I'm using heat SoftwareDeployments on Juno release. I'm searching the best solution to perform the following scenario:

  • create instance with heat
  • perform some initial configuration using SoftwareDeplotment resources (e.g. trigger some python scripts)
  • using SoftwareDeployment to boot instance
  • continue configuration using SoftwareDeployment resource after boot (e.g trigger other python scripts)

Can be above achived with heat? How should look heat templates to allow configuration after boot?

UPDATE:

I would like to create heat template with 3 software deployments:

  • first: execute some python script
  • second - waits until first is completed, then perform instance boot
  • third - wait until boot is completed and execute some additional scripts'

All above should be performed in single heat stack-create call.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-03 04:26:37 -0500

updated 2015-04-03 05:21:08 -0500

You can find anything related to Software deployments here.

Here you could find useful templates.

UPDATE

I will simplify your scenario:

  • create an instance and boot it -> simply add that VM as a resource in your heat template
  • perform some initial configurations -> I think this page is what you are searching for
  • call some additional script -> here the link
edit flag offensive delete link more

Comments

Yes I know this resources but I didn't find my scenario.

ZJ gravatar imageZJ ( 2015-04-03 04:50:40 -0500 )edit

Well, I would like do something else, please see my update of the original question.

ZJ gravatar imageZJ ( 2015-04-03 08:52:20 -0500 )edit

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-04-02 02:20:29 -0500

Seen: 677 times

Last updated: Apr 03 '15