Commit Graph

185 Commits

Author SHA1 Message Date
OpenStack Release Bot 726537a7f6 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I38b1675d714597ef3f45e10ef8059f64647f954d
2024-03-18 08:48:17 +00:00
OpenStack Release Bot 4e1af08e50 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I9f47188571fd3abb7fdcc2e734232c4c4fd724a6
2024-02-23 12:20:12 +00:00
Zuul 494d210f58 Merge "Deprecate unused [coordination] heartbeat_interval" 2023-12-19 17:58:29 +00:00
Zuul 973e6ac996 Merge "Add optional healthcheck middleware" 2023-12-14 00:35:55 +00:00
Takashi Kajinami f34e250fb5 Deprecate unused [coordination] heartbeat_interval
This option has never been used by actual logic. This deprecates
the ineffective option so that we can remove it in a future release.

Change-Id: I350e45fc9aef28db8790614ade7a5ad3071e574b
2023-12-13 22:47:37 +00:00
OpenStack Release Bot 722b4af6b8 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: Ia97fdc514caa84716f7893ab2416a2f656c1e65c
2023-09-15 13:54:34 +00:00
OpenStack Release Bot 0e05d585a0 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I5525a7f7858696927b9466589fd66d47f418a5b7
2023-03-06 09:21:46 +00:00
Takashi Kajinami f17dd7a04b Add optional healthcheck middleware
This change introduces a new option, [healthcheck] enabled, which
enables the healthcheck middleware in mistral-api pipeline.

This middleware allows status check at /healthcheck path, which is
useful for load balancers or any monitoring services to validate health
of its backend services.

This change is created based on the same change proposed to ironic[1].

[1] 6f439414bdcef9fc02f844f475ec798d48d42558

Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com>
Change-Id: I9bf3de8a5ae6a8c9346285147732b773a3667f7e
2023-02-03 04:09:13 +00:00
OpenStack Release Bot 582cfabf20 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I8657710089912c721c7c02a81adaeb7e465935bf
2022-09-16 15:19:56 +00:00
Zuul 5782b3be2c Merge "Update type of 'description' field to 'text' for table workflow_executions_v2" 2022-09-09 10:32:18 +00:00
Rajat Jain 6fb78f3561 Update type of 'description' field to 'text' for table workflow_executions_v2
Change-Id: I5ae7f0f39822c99d11bd7cd6191e036afd7e6721
2022-08-23 11:44:42 +00:00
Tobias Urdin 1a6f5d0e5f Added sorting and marker for pagination of actions
This solves the sorting and marker for pagination
when listing actions.

Change-Id: I9bb15642585af22ad354dd4f8f2253a47129639e
2022-08-15 08:07:13 +00:00
Zuul 342e1a9223 Merge "Update python testing as per zed cycle testing runtime" 2022-08-14 19:46:58 +00:00
Zuul 6bc923d51d Merge "remove unicode from code" 2022-08-12 18:14:46 +00:00
shanyunfan33 fbf8091364 remove unicode from code
remove unicode from code

Change-Id: Ief9d24e83d74c1f7bf17c96abd713ee5b563361d
2022-08-12 14:41:59 +00:00
LeopardMa 88c7a5d1ff Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.htm

Change-Id: I4e27be997dc35592813d89a211bce553cd7252d3
2022-08-12 20:57:06 +09:00
OpenStack Release Bot fe71b174a3 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: Idd5a20ac06d515078dfc2c0e55dde0b747cc63b3
2022-08-02 14:51:11 +09:00
OpenStack Release Bot c61236981f Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I43d9dc7e1f9c7bf9a2072497115e65a01c2b99d1
2021-09-17 16:22:38 +00:00
OpenStack Release Bot 3846b9e6ed Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I58e157deef1aac29cf7d53af54d4726824419cc4
2021-03-26 18:42:22 +00:00
Ghanshyam Mann 7cf2014c2e [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I3b9aeb3379a76f7e40dab0c46e27f4447a0c3d03
2020-12-22 16:47:46 +07:00
ali 9be4f8e119 created a new Api endpoints and added dynamic actions
* added dynamic actions:
     these actions are created and modified in runtime,
     each action needs a code source to be imported from and a
     class name.

 - there are 2 new endpoints:
    - /v2/code_sources/:
       used to add new code sources to mistral.
    - /v2/dynamic_actions/:
      used to add dynamic actions to mistral in runtime

 - a new Action provider (DynamicActionProvider) was added:
    it provides the actions created from the dynamic actions api.

Change-Id: I9fe8c28ffdef71016d9dc13aea60a288c8ebaa0a
Signed-off-by: ali <ali.abdelal@nokia.com>
2020-11-18 10:15:26 +00:00
OpenStack Release Bot 0a74fb365b Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Id9fc114b680e47e494f9ec8869c176152ccf764a
Sem-Ver: feature
2020-09-25 12:28:23 +00:00
Renat Akhmerov 068e5cc0e9 Add release notes for the action provider transition
Change-Id: Icc79a07386de08e396351e78f27ccbde72f93a2e
2020-09-25 14:45:34 +07:00
Andreas Jaeger 4b52d4d458 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Remove python 3 versioning from lower-constraints and
requirements to pass requirements-check.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id478711abb1783422ebb4ee9937d1b7202fdf2f3
2020-05-21 15:50:23 +02:00
OpenStack Release Bot b56576eef6 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ie516ee33ca126c6d9750ecdfc1fbb99051fc4a97
Sem-Ver: feature
2020-04-23 12:21:21 +00:00
Eyal 8bdf341af7 Remove OpenStack actions from mistral
Depends-on: https://review.opendev.org/#/c/703296/
Depends-On: https://review.opendev.org/#/c/704280/
Change-Id: Id62fdabe7699e7c3b2977166e253cfc77779e467
2020-02-26 10:12:01 +02:00
Renat Akhmerov 253fd978c5 Release note for "convert_output_data" config option
Change-Id: I99d30434c9d337529edae041427de05ffcf2ffd6
Closes-Bug: #1863857
2020-02-19 09:27:25 +00:00
ali 06e776e6e3 Added a new API to fetch sub-execution of an execution or a task
*the new endpoints are:

   v2/executions/{ex_id}/executions
   v2/tasks/{task_id}/executions

  it returns a list of execution resources, by default the API will
  return all sub-executions

  the API can take 3 parameters:

  errors_only: returns only the error routes
               - default is False
  include_output: includes the output field for the returned executions
                  - default is False
  max_depth: the max depth for the returned executions
             - if a negative value is given, then the API will return
               all sub-executions
             - default is -1

 Partially-Implements: blueprint mistral-execution-origin

Change-Id: I2a4c5e6890dbb4de868ce885d51341b15e359233
Signed-off-by: ali <ali.abdelal@nokia.com>
2020-01-23 08:50:28 +00:00
ali 20c3408692 Add namespaces to Ad-Hoc actions
added namespace for the actions, actions can have the same name if they
 are not in the same namespace, when executing an action, if an action
 with that name is not found in the workflow namespace or given
 namespace mistral will look for that action in the default namespace.

  * action base can only be in the same namespace,or in the
    default namespace.
  * Namespaces are not part of the mistral DSL.
  * The default namespace is an empty string ''.
  * all actions will be in a namespace, if not specified, they will be
    under default namespace

Depends-On: I61acaed1658d291798e10229e81136259fcdb627
Change-Id: I07862e30adf28404ec70a473571a9213e53d8a08
Partially-Implements: blueprint create-and-run-workflows-within-a-namespace
Signed-off-by: ali <ali.abdelal@nokia.com>
2020-01-07 08:10:53 +00:00
Renat Akhmerov d1b8c8bc2c Add a release note for graceful scale-in feature
Change-Id: I9874085555db097c7ae1ae3c2c7cad73b8543ff5
2019-12-09 13:00:22 +07:00
Ghanshyam Mann fa2042a821 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Mistral is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ica51b3b36f3784b4b04731406b6bf8320d5de4b8
2019-11-16 14:07:57 +00:00
Oleh Huzei 948ceb150b Add release note for fix error of cron trigger run
It relates to the change I793fbfec03032d9ff7137c11becb6d1c18ec54bc,
commit 51b7dd0c6d.

Change-Id: I2571246947ab5ae06731fc7d35de7a5954325a82
2019-10-16 11:32:28 -04:00
Renat Akhmerov 8f02e8a7d7 Change the action error message format
* Some users rely on the presence of the root error related to
  running an action and it's not convenient that it is now in
  the end of the string, e.g. if we look at the corresponding
  task execution "state_info" field. This patch includes the cause
  error message in the beginning of the resulting error string
  returned by the action executor so that it's clearly visible.
  This message can be also truncated in some cases (depending on
  the config option) so we need to make sure we keep the cause
  error message.

Closes-Bug: #1847984
Change-Id: Ieb10c10401380410665c418f4688681e929b1e23
2019-10-14 17:08:44 +07:00
OpenStack Release Bot e4f62dab1d Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: Icae14d39d714d0da3a945aeca3dcb70f73635162
Sem-Ver: feature
2019-09-27 20:40:17 +00:00
Renat Akhmerov ac41f94d11 Add an ability to disable workflow text validation
* For the sake of the service performance, it may make sense to
  disable validation of the workflow language syntax if it is
  affordable for a particular use case. For example, if all
  workflows are auto-generated by a 3rd party system and tested
  thoroughly (either by running them with Mistral or at least
  validating them via the special Mistral endpoint) then we can
  safely disable validation of the language syntax when uploading
  workflow definitions. For production systems it makes a big
  difference if workflow texts are large (thousands of tasks).
  This patch adds the boolean parameter "skip_validation" for API
  requests like "POST /v2/workflows" to disable validation, if
  needed, and the new configuration property "validation_mode"
  to set a desired validation mode.
  The option is an enumeration and has the following valid values:
    1) "enabled" - enabled for all API requests unless it's
       explicitly disabled in the request itself
    2) "mandatory" - enabled for all API requests regardless
       of the flag in the request
    3) "disabled" - disabled for all API requrests regardless
       of the flag in the request
  "mandatory" is choosen as the default value for this new
  property to keep compatibility with the previous versions.
* Minor style changes.

Closes-Bug: #1844242

Change-Id: Ib509653d38254954f8449be3031457e5f636ccf2
2019-09-27 04:33:04 +00:00
apetrich 9289f7d28e Add release notes to changes to wflanguage execution object
Change-Id: I976fe5723a8bad81f1c6e30618475aa34e3e2050
depends-on: Ia6c954e688589f69a7463f1b8e02244d029e8b7a
2019-06-03 13:58:43 +02:00
Renat Akhmerov a477fe49cd Fix how "has_next_tasks" is calculated for task executions
* There was a weird typo in the list generator expression made in
  https://review.opendev.org/#/c/652575 that led to calculating
  a field value in the wrong way. Fixed. The added test was
  previously failing.

Closes-Bug: #1829841

Change-Id: I6b8ea8dfa623acbb56f649630ddee62e43d484eb
2019-05-21 17:24:52 +07:00
Zuul 6dcc048725 Merge "Adds private_key parameter in the standard ssh actions" 2019-05-16 06:40:47 +00:00
Marc Gariepy 279fcc5b41 Add release notes for reply-to feature
Change-Id: I4b8a730940c24edd903f1f9a28807573c6d4449a
2019-04-18 08:01:55 -04:00
Renat Akhmerov b0829f943b Fix an expression context for all_errors_handled()
* "__task_execution" wasn't included in this case into the
  expression data context so the function task() didn't work
  properly

Change-Id: I3cacae90f9031d09a5e6d8153d728ddc01e1bb21
Closes-Bug: #1823875
2019-04-10 11:49:48 +07:00
Zuul 0775d2cc81 Merge "Add release note for I04ba85488b27cb05c3b81ad8c973c3cc3fe56d36" 2019-04-05 00:43:52 +00:00
Vlad Gusev 5d2be3458d Add release note for I04ba85488b27cb05c3b81ad8c973c3cc3fe56d36
Change-Id: I3ad0a7769e2d61665d5ea76b90485e582993ddd2
2019-04-04 16:01:28 +00:00
Renat Akhmerov 5e0133c83e Add "convert_input_data" config property for YAQL expressions
Closes-Bug: #1822060
Change-Id: I521ad62c3311a2e4de714af4c31463bdff7dbd59
2019-04-04 08:49:03 +00:00
Renat Akhmerov d332d7fefe Add release notes for engine optimizations
Change-Id: I9a87c1e2a0bc5a1ba54d7f93f6b1d077088e5023
2019-03-27 14:25:49 +07:00
OpenStack Release Bot 3e42cffd6c Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Icb8261ce3371296b8a87e5bfa527a5f64a25157c
Sem-Ver: feature
2019-03-22 18:48:52 +00:00
Vlad Gusev ed7c351d0b Release note for fixing event-engines HA
Add missing release note for https://review.openstack.org/#/c/548044/

Change-Id: I297054f052b79143b2d0882286fb3e22d19c70c5
2019-02-15 13:51:38 +03:00
lijunjie c7509a9c85 Fix the misspelling of "default"
Change-Id: I0a96eebec595ed510abde253a517c4b73cf5ec7b
2019-01-10 17:22:36 +08:00
MaoyangLiu efca6f2e95 fix typo mistakes
Change-Id: I274bb4b2e6ac97c6ed6d85367f96b72f3ecd06c5
2019-01-07 09:22:56 +00:00
Jose Castro Leon 9bbc1d41d0 Adds private_key parameter in the standard ssh actions
This method allows to specify a private key and avoids its storage
in the filesystem of the executors. This can be used later in
combination of a secrets_retrieve to use keys stored in barbican.

Change-Id: Ide438a7f6d24c8bdc9eb2c82e935fd39a6acc2c6
Closes-Bug: #1806703
2018-12-05 08:10:57 +01:00
Renat Akhmerov 0fb96bbd2b Add loging for sending an action to executor
Closes-Bug: #1805579
Change-Id: I4dc2b1e059d66d16725417ea5aa27b978e2163f0
2018-11-28 14:14:16 +07:00