HEAT Trigger with project creation

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

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


I suggest you look into event alarms.

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

1 answer

Sort by ยป oldest newest most voted

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-02-05 09:06:14 -0600

Seen: 96 times

Last updated: Feb 12 '19