81 Commits

Author SHA1 Message Date
Vitalii Solodilov
e7da5b6dc8 Add a release note for new indexes
Change-Id: I53b70b741134326301e40e3b25dd9733adca265e
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-04-08 20:22:44 +04:00
Renat Akhmerov
8b30743d0a Add a release note for the 'pause' command fix
Change-Id: Ia609cb319a01b3685d91515c8d9d81e3006a001e
Related-Bug: #1714054
2018-03-28 09:06:48 +00:00
Dougal Matthews
422c89a05a Add a release note for execution events noitifications
This is for I9820bdc4792a374dad9ad5310f84cd7aaddab8ca

Change-Id: I3157e6414a9b58f74178450f40a2e79f41dc5de1
2018-03-12 18:25:59 +00:00
wangqi
6683e154bb Remove duplicate word 'the'
Change-Id: I1bcce8034fa7af6af99a5eb3e8292c714da89e51
2018-02-24 04:13:19 +00:00
Zuul
1f83e5d5a2 Merge "Cache action definitions" 2018-02-15 10:14:19 +00:00
2de17cb760 Update reno for stable/queens
Change-Id: Ic780f945537ed07b0ba58bd58eaddf5a1a1693a3
2018-02-14 13:42:32 +00:00
Mike Fedosin
1ae082794a Cache action definitions
Now to perform some action mistral gets its definition from
the database first. It's not really optimal, because if there are
a lot of similar action calls, mistral will reread the same data
from db. It increases the whole execution time and the load on the
database.

To improve the performance it's suggested to cache read definitions
and take them from the cache instead of the database in the subsequent
times.

Cache ttl can be configured with ``action_definition_cache_time``
option from [engine] group. The default value is 60 seconds.

Change-Id: I330b7cde982821d4f0a06cdd2954499ac0b7be37
2018-02-12 16:16:54 +01:00
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
Zuul
adbdd4ce7d Merge "Remove setting of version/release from releasenotes" 2017-12-05 08:55:09 +00: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
dharmendra
f1e32f1f2a Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is
entirely due to the current convention of pulling in the version
information. Release notes should not need installation in order
to build, so this unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion
starting at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html

Change-Id: I68aeb4b36bd8fe568ebb794de695afa011af8b7b
2017-11-17 08:12:14 +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
18bab73ed7 Update reno for stable/pike
Change-Id: I39e3f68f6dd868325a250892574cd8dbaf18f4c8
2017-08-11 13:32:53 +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
Jenkins
05711f6f33 Merge "Update docker build" 2017-07-24 15:22:46 +00:00
Sharat Sharma
532bfaf600 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Ic0686fc1f1128d52c2ffb195d3cedb30de6f9c73
2017-07-05 05:10:00 +00: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
Jenkins
1f71b81967 Merge "Add Apache License Content in index.rst" 2017-04-12 07:53:40 +00:00
XieYingYun
69451e1f80 Add Apache License Content in index.rst
Add Apache License 2.0 Content which is necessary
for ./releasenotes/source/index.rst

Change-Id: I6dabd53bf309517ee699b3614a106c24278d45d1
2017-04-10 19:34:51 +08: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
Jenkins
d42379ec02 Merge "Add reno for tasks function" 2017-02-15 11:10:05 +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
29dfe69d1e Merge "Revert "External OpenStack action mapping file support"" 2017-02-10 05:49:40 +00:00
Emilien Macchi
cc87dd7e2b Revert "External OpenStack action mapping file support"
Mistral API in WSGI is currently broken, see:
https://bugs.launchpad.net/mistral/+bug/1663368

This reverts commit a5fd5d452ad1db1a6f1d42e3e350554ce625c481.

Change-Id: I890a4be46b350d1adc53cb9ae15e2a7fdcad3e3f
Related-Bug: #1663368
2017-02-09 20:14:58 +00:00
Jenkins
159aca86a7 Merge "External OpenStack action mapping file support" 2017-02-08 11:48:17 +00:00
Istvan Imre
a5fd5d452a External OpenStack action mapping file support
Release note and command line parameter added.
Additionally from now on user don't need list all the
openstack modules in mapping file.

Change-Id: Ibdd2e2e471ecf23016b44f742166f6b22f1649b0
2017-02-08 08:21:38 +01:00
28fe3343c8 Update reno for stable/ocata
Change-Id: Ifee79fa4c2506fe19e4904ad258d930bc376951b
2017-02-02 23:36:51 +00:00
Jenkins
2852d113b1 Merge "Removed unnecessary utf-8 encoding" 2017-01-11 11:34:52 +00:00
Jenkins
7f0f09f410 Merge "Added gnocchi action pack" 2017-01-11 06:34:13 +00:00
Rajiv Kumar
285beb6f84 Removed unnecessary utf-8 encoding
Change-Id: Ic2ac9598e1098a9b75172af0cab1db31bc2cf9e7
2017-01-11 02:58:04 +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
d777252df1 Merge "Cleanup Newton Release Notes" 2016-10-13 11:42:34 +00:00
Jenkins
8cfc20a5b1 Merge "Enable release notes translation" 2016-10-12 19:30:49 +00:00