51 Commits

Author SHA1 Message Date
Pradeep Kilambi
16de7e004f Remove ceilometer actions from mistral
ceilometer api and client have been deprecated for over
two releases and now removed completely. Lets drop these
actions and update the requirements.

Change-Id: Ica2b835a885b9b4705996f91080afc12587bd314
2018-01-11 14:28:16 -05:00
Hieu LE
60d1627650 Implement policy in code - docs and reno (end)
This commit adds docs and reno for migrating policies
into code [1].

Like oslo.config, with oslo.policy, we can define all of
default rules in code base and only change some rules
via policy file. Another thing that we should use yaml
format instead of json format.

[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Co-authored-By: Dai Dang-Van <daidv@vn.fujitsu.com>

Change-Id: I67984292022e2a92306b268a40861cff625c22c9
2017-11-27 02:47:56 +00:00
Dougal Matthews
6fc541a44c Add a json_dump expression function
This is a new and simplified version of the json_pp function. It uses on
the standard jsonutils formatting and wont output the context if not
argument is provided.

Change-Id: I37f69d14e7cf4f57b910b355d7ccd31c9cd73d10
2017-11-03 07:35:03 +00:00
Brad P. Crochet
6bd96d70b1 Add yaml and json parsing functions
Sometimes you'll get a string back from some action (like swift
get_object) and it will be in either a yaml or json format. These
functions will allow you to parse those into a useful object.

Change-Id: I375219f4b019319e1b3d756dca512f7f90cd097f
2017-10-12 16:50:03 -04:00
int32bit
f84952a3b1 Add get cron-trigger by id support
Currently we can only do a CURD action on a cron-trigger by name.
This patch refer to workflow implementation and re-encapsulate
DB API so that users can manage a cron-trigger by id or name.

Closes-Bug: 1684469

Change-Id: I9ff657b2604647e734b5539e9bd6a524a3a20efb
2017-10-05 11:41:00 +00:00
Michal Gershenzon
356a1cf274 Create and run a workflow within a namespace
Add release note and improve docs.

Change-Id: I6edc4e22f90c029d7f3b6e149396cd741266c6a9
2017-08-02 05:19:47 +00:00
Nikolay Mahotkin
96e2f8eeb8 Add releasenote for public event triggers
Change-Id: I15c2ece923a9477882f3859fb5cb67d7af2c7391
2017-08-01 10:44:53 +03:00
Andras Kovi
3c37ef5ed5 Update docker build
Update the Mistral docker image and tooling has been updated to
significantly  ease the starting of a Mistral cluster. The setup
now supports all-in-one and multi-container deployments. Also,
the scripts were cleaned up and aligned with the Docker best
practice.

Change-Id: I803d69ee17e7f5ebc95ec2c81887c4f580d73715
2017-07-03 13:22:44 +02:00
Jenkins
6ae4e10860 Merge "Update AdHoc Actions to support context data references" 2017-05-19 16:03:39 +00:00
Bob Haddleton
a121aacbbc Update AdHoc Actions to support context data references
AdHoc actions can be defined using YAQL and Jinja2 expressions in the
same way as Tasks, but they could not access the associated context
data because the context was not available when the expression is
evaluated.  This patchset passes the task and workflow context into
the AdHocAction object so that the inputs can be evaluated using the
available context, and the context data will be available for
reference.

Added a test to verify that the env() works in AdHoc Actions.

Change-Id: Ib95604d3d494a443e852bc7f5eee24f398b1648c
Closes-Bug: 1690158
2017-05-17 22:09:29 -05:00
Lingxian Kong
9b0cba60b3 Add release note for "action_region" support
Change-Id: I1b56e6d265b4e0b02d90142cbf157fa6e274f34d
2017-05-16 22:13:28 +12:00
Renat Akhmerov
0415a7c44b Release notes for "evaluate_env"
Change-Id: I9a164e317d3a50a2ddb42e5b20c7c2c7bdaf679f
2017-05-12 16:13:37 +07:00
Lingxian Kong
0c4aba5e80 Add release note for resource RBAC feature
Change-Id: I2ddac7381011c52d7b9d2106be43c8e99645f152
2017-04-08 15:10:24 +12:00
Lingxian Kong
7009a91a34 Add release note for 'created_at' support in execution()
For https://review.openstack.org/#/c/448843/

Change-Id: I5eac88588cc6cc52f5023408f3e6a2a2d0e9ab25
2017-03-24 10:28:52 +13:00
Jenkins
58b10ebb44 Merge "External OpenStack action mapping file support" 2017-03-03 13:37:11 +00:00
Istvan Imre
91237c2baa External OpenStack action mapping file support
Release note and command line parameter added.
From now it is optional to list openstack modules in mapping file which
you would not include into supported action set.

Change-Id: I5ab01395c507fc857dca7cf08ab344a07def0dcf
2017-03-03 08:00:30 +00:00
Michal Gershenzon
861d572b23 Remove output from list action executions API
output field should be returned only when getting one action execution

Change-Id: I9913f4893b3eaf30faca1a747eeeda493dbc0fb2
Closes-Bug: #1610817
2017-03-02 10:40:37 +00:00
Michal Gershenzon
c6e1ff7e76 Add reno for tasks function
Documentation on how to use should also be added.

Change-Id: I6a2c4c08042cd2e8546c7117c0c02cbcb4f1da53
2017-02-12 16:10:04 +00:00
Jenkins
7f0f09f410 Merge "Added gnocchi action pack" 2017-01-11 06:34:13 +00:00
fengchaoyang
6d9b53ef3d Added gnocchi action pack
This patch adds gnocchi action pack into mistral.

Change-Id: I1438b554356ad8ea6b86744eea1402e1f5526739
Depends-On: I99915d9ad5d1ccfa7ff326adab89937cf64a07ce
Implements: blueprint mistral-gnocchi-actions
2017-01-03 12:27:38 +08:00
Sharat Sharma
de38c414a0 Adding releasenotes for aodh action support
Change-Id: Ie8bd3518aca23d105e2f78c299fcf5c35c0d41d9
2016-12-23 12:35:47 +05:30
Jenkins
8a174bfa15 Merge "Added releasenote for retry policy update" 2016-12-08 10:50:21 +00:00
Sharat Sharma
fd5db96e85 Added releasenote for retry policy update
https://review.openstack.org/#/c/383617/ updates the retry policy
and is a huge change for some of the workflows. Hence, adding a
releasenote.

Change-Id: I86d88d80c3fbcba098d41671f3131f68d10fac03
2016-12-05 06:58:15 +00:00
Dmitry Tantsur
57e4614c16 Bump Ironic API version to 1.22 when creating the Ironic client
Due to how microversioning works in the Ironic client, it is not possible
to use API features introduced in API version 1.10 and later from Mistral,
as the default version is 1.9 (mid-Liberty). This change bumps the required
API version to 1.22 (Newton final).

See the following link for the full API version history:
http://docs.openstack.org/developer/ironic/dev/webapi-version-history.html

Change-Id: I1c605fc00efe5fe8956d6547ea5e85e6e1172c9b
2016-11-30 15:23:27 +01:00
Sharat Sharma
1312852c88 Added releasenote for Senlin Action Pack
Change-Id: I381b5ad37635e8a771532d6e006bb05569dcaf77
2016-11-15 14:25:41 +05:30
Istvan Imre
603cd4808c Handle region_name in openstack actions
User now could define the region for the openstack actions.
It could be done via API in X-Region-Name and X-Target-Region-Name
in case of multi-vim feature is used.

*API change*
X-Region-Name: Header added to execution create
X-Target-Region-Name: Header added to execution create

Change-Id: Icbf63962a481c1282b95359894fa6245e0e97bac
Related-Bug: #1633345
2016-11-08 15:30:00 +01:00
Jenkins
7a1451abdf Merge "Added releasenote for https support" 2016-08-03 02:37:07 +00:00
Dawid Deja
fb2fa02575 Update docs and add release not for safe-rerun flag
Change-Id: I05c16fd72326b8e34436e1dad9380f5e6fbde0a5
2016-08-02 08:46:22 +00:00
hardik
95016cbfda Added releasenote for https support
Change-Id: I55052c737b3049a078fa304aa837381d674b1657
2016-08-01 17:33:31 +05:30
Jenkins
d0009166e0 Merge "Release note for KeyCloak OIDC support" 2016-07-13 09:37:34 +00:00
Shaik Apsar
400c6227b4 Fix for YaqlEvaluationException in std.create_instance workflow.
Change-Id: Id67f203ccd9d8aa5150a3b481bf042ec29276d55
Closes-Bug:1599122
2016-07-12 00:29:23 -04:00
Renat Akhmerov
43c404d7fd Release note for KeyCloak OIDC support
Change-Id: I6715d12e15f40c803c40215ab19b2eb88dc589b0
2016-07-08 17:31:08 +07:00
Shaik Apsar
7e9c04ebb9 Add tacker actions in mistral
Change-Id: Ie5f445fae4aee7bb01a71b3959c0ff2610c52f1f
Implements: blueprint tacker-api-actions
2016-07-02 06:16:54 -04:00
Marcos Fermin Lobo
e512df9332 Release note for magnum actions support
Change-Id: I157d75f2ae7162daafef7db7ae0331b8cd110e70
Implements: blueprint add-magnum-action-pack
2016-06-16 09:23:37 +00:00
hardik
8d53a25ee2 Release note for murano actions support
Change-Id: Iba8fc02e9cedee7093f24676ac83ea18aa295afc
2016-06-15 10:39:04 +05:30
hardik
40a4b124bd Release note for role base access control
Change-Id: Ib477249fb2cad405500fd33df5df8d8e94983f2c
2016-06-14 14:16:05 +05:30
hardik
67b2584c1c Release notes for fail/pause/success transition message
Change-Id: I3a8bca3cbc4573e2a74e5bd75bf5ef19b79795ae
2016-06-02 11:08:39 +05:30
Michal Gershenzon
594b3e27f9 Add API to validate ad-hoc action
Add an API that gets an ad-hoc action DSL and validates it.
This is done in the same way workflows are validated today.

Change-Id: Ibbb949ef38befae1ef83a2a56cda4c817ceb41d4
Implements: blueprint validate-ad-hoc-action-api
2016-05-18 11:02:59 +00:00
Lingxian Kong
145b4a444e Add release notes for M-3
- New service actions support, remove the separated ones.
- Workflow sharing feature.
- Usage of workflow UUID.

Change-Id: Ia082fc0b70dbad62e1224e8ebe252677d5372c3a
2016-03-01 10:17:11 +13:00
Limor
2f973a1910 Release notes for Barbican actions
Change-Id: I27c3f2ee2719d08908f2eda314798d1a7e877c65
Implements: blueprint support-barbican-actions
2016-02-19 07:51:08 +00:00
venkatamahesh
8cbfd487a8 Fix spellings for two words
Change-Id: I0cd0a5fed4784cb08acc29dc0bddcbc205975e1e
2016-02-03 15:21:50 +05:30
Jenkins
a6d770896e Merge "Add release note for swift action support" 2016-02-01 08:24:15 +00:00
hparekh
f44b0bcb39 Add release note for tempest plugin
Change-Id: Id75f3ac4f72b85ce95c463a861c04ace6c18d33c
Partially-Implements: blueprint mistral-tempest-plugin
2016-01-22 05:52:18 +00:00
Lingxian Kong
79a0f8ab0d Add release note for swift action support
Change-Id: I8449946c3dbd8853cf3b7d3e0603b0d86965e972
2016-01-20 16:30:39 +13:00
hparekh
084bbedbd9 Release note for mistral-docker-image
Release note has been added for pre-installed
mistral docker image.

Change-Id: Iaaeb381e515c0ed8cd45efad245dde257731ce05
Partially-implements: blueprint mistral-docker-image
2015-12-24 16:28:16 +09:00
Michal Gershenzon
f93930bcb4 Add releatenote for fix execution saved in wrong tenant
Change-Id: I4443481743e4b74091e2e0aea608b5c872a3da4b
Related-Bug: 1521802
2015-12-16 16:12:40 +00:00
Moshe Elisha
976667c0a2 Fix concurrency issues by using READ_COMMITTED
The state of a workflow execution was not updated even when all task
executions were completed if some tasks finished at the same time as
other tasks.
Because we were using our connections with transaction isolation
level = REPEATABLE_READ - Each process was using a snapshot of the DB
created at the first read statement in that transaction.
When a task finished and evaluated the state of all the other tasks
it did not see the up-to-date state of those tasks - and so, because
not all tasks were completed - the task did not change the workflow
execution state.

Similar behavior happened with multiple action executions under same
task. On completion, each action execution checked the status of the
other action executions and did not see the up-to-date state of these
action execution - causing task execution to stay in RUNNING state.

Change-Id: I12f66134d92b8ed39df9d6128d7de5ee49aa8623
Closes-Bug: #1518012
Closes-Bug: #1513456
2015-12-09 08:01:38 +00:00
Jenkins
33e9bee117 Merge "Add release notes for Cinder v2 support" 2015-11-30 13:08:05 +00:00
Lingxian Kong
4efa097deb Add release notes for trove support
Change-Id: Iceddc8e44429ec98908c00e0070ebb1eb9896d40
2015-11-29 08:46:08 +08:00
Lingxian Kong
b3901dbbbe Add release notes for Cinder v2 support
Change-Id: Ib72ec654ddfa1ec17747fd759735af49335fd642
2015-11-29 00:05:29 +08:00