Ask Your Question

Where do mistral custom actions need to be installed?

asked 2017-04-14 15:44:59 -0500

mattybrennan gravatar image

updated 2017-04-14 15:46:54 -0500

The documentation available (here) doesn't explain where to put the newly-created action file. Does it have to be nested somewhere under the main mistral installation?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-17 04:28:37 -0500

d0ugal gravatar image

Mistral actions should be installed as Python packages. This means that generally you want to create a file and then install it with "pip install ." in the same directory.

Installing actions is a three step process: 1. Install the Python package 2. run mistral-db-manage populate so that Mistral finds the new action and registers in in the database. 3. Restart Mistral, so that it can find the new Python packages.

For a small and simple example, see my custom actions for calling Ansible.

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


Asked: 2017-04-14 15:44:59 -0500

Seen: 94 times

Last updated: Apr 17 '17