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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.
Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.
Change-Id: Iccf6d4dcd310d7834fc0259f47e3b04c8951cb72