Ask Your Question
0

HEAT Trigger with project creation

asked 2019-02-05 09:06:14 -0500

emiliomuno gravatar image

how do i trigger a heat stack with a project creation? I want to create a network environment always that a project is created

edit retag flag offensive close merge delete

Comments

I suggest you look into event alarms.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-05 17:34:29 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-02-12 15:58:07 -0500

zaneb gravatar image

The Adjutant project is building workflows for project (i.e. tenant) management (amongst other things). That is probably the best place to implement what you're trying to do. (It is an official OpenStack project.)

The other option is to trigger something off of events. To do this as a regular user, you could trigger off an event alarm and use a Zaqar subscription to execute a Mistral workflow that creates the network environment (example in another context). However, IIUC you are speaking as a cloud operator and therefore have no need to restrict yourself to APIs a regular user can access. So you could write something to listen to oslo.notification events directly and make the API calls you want.

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: 2019-02-05 09:06:14 -0500

Seen: 43 times

Last updated: Feb 12