Commit Graph

20 Commits

Author SHA1 Message Date
Vasudeo Nimbekar 3385694dd5 Add monitoring server to mistral-extra
This feature will allow user to monitor mistral services and important metrics like operations related to tasks, executions, workflows, etc.
1. Added Monitoring server which can run similar to other mistral components by enabling monitoring and recovery jobs config options.
2. Monitoring plugin can collect metrics from the mistral and publish it in the Prometheus compatible format.
3. By using this monitoring plugin user can attach monitoring tools to the Mistral like Prometheus and Grafana to view metrics in a dashboard.
4. Added recovery jobs to recover from different failing or stucked conditions for eg. removing frozen named locks, refresh state of tasks stucked in waiting state long time, expired sub workflow tasks, stucked workflows, etc.

Implements: blueprint add-mistral-monitoring-plugin

Change-Id: Idbb6de9084504448befb9e346da4f458eb6c5a17
2023-05-26 14:39:34 +05:30
Takashi Kajinami 289cda8fc0 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I2aeb34021ae34b5f91b1892a463ec6e0d5bdc8ad
2022-03-17 13:15:21 +00:00
Eyal b615bd4b48 Move preinstalled workflows to mistral-extra
* These workflows are openstack workflow so they should be
  in mistral-extra where all the openstack actions are.

* Use an entry point to get all the paths for the workflows.py,
  This way other projects can have there own pre installed workflows.

Depends-On: https://review.opendev.org/#/c/709963/
Change-Id: I379dc5ca40c2055122508daae7a638c21c840254
2020-02-26 11:02:39 +02:00
Zuul 91ff80c79d Merge "Move openstack actions to mistral-extra" 2020-02-05 08:55:58 +00:00
Dougal Matthews c158891ac5 Correct the mistral-extra package name
The project name is mistral-extra, but the Python package is
mistral_extra.

Change-Id: I93cc4d3d28fda2ec29fec3e828dbed92cbb24683
2020-02-04 13:33:03 +00:00
Eyal bb2af2e2be Move openstack actions to mistral-extra
Implements: blueprint mistral-actions-api-separate-openstack-actions
Change-Id: Iaf1cca7a29df35409fea641fdb60191afb509b5a
2020-01-29 12:27:13 +02:00
Ghanshyam Mann 1a99070183 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

mistral-extra 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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I32edd618a65f5ef65be1c7894dd4f52c97f733c3
2019-11-16 17:01:53 +00:00
Corey Bryant 43b510a41e Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I4416ad8c1dc7f7414981eb7e82c88d18fc2ff9a7
Story: #2005924
Task: #34222
2019-07-05 12:03:38 -04:00
Ghanshyam Mann 6193c0586d Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I2833bc6d3d3962d448ad0619efc842911465bf8b
2019-04-14 23:35:48 +00:00
zhouxinyong 5fe2ff8cd7 Change openstack-dev to openstack-discuss in setup.cfg
Change-Id: I7e14ec26ea8fd86b30759b949d7b661818751372
2019-01-22 17:56:31 +08:00
Zuul 255f4d54bc Merge "Update home-page URL" 2018-12-20 07:15:53 +00:00
akhiljain23 c02637c27a Add Python 3.6 in setup.cfg
Change-Id: I3605830c87d5700ebeaac91bab0f3161d3bc1958
2018-11-30 11:33:01 +05:30
melissaml e87e73dc11 Update home-page URL
Change-Id: I3a6cb35f7dabb3be2b35b102374128ec4c0236e0
2018-09-23 16:40:13 +08:00
Sharat Sharma b542d7fcd5 Change author
As per https://review.openstack.org/#/c/473230/, we need to change
the author in setup.cfg from Mistral Team to Openstack.

Change-Id: I5b449c97b4865456d039f60de31e09127aafb55b
2017-06-06 00:46:34 +05:30
Brad P. Crochet 5bee294596 Set up mistral-extra with the ability to run unit tests
Properly sets up the mistral-extra repository with packaging and testing
setup, in order to add gating in CI.

Change-Id: I204745785e63cc8b1ae47da5cc59eda6da18b722
Depends-On: I5e75914e500837babdeb358a76ec7d90c56f61ac
2017-03-03 16:29:49 -05:00
Renat Akhmerov 5eebb0d5dc Restructure mistral-extra repo
* "examples" file tree should not be Python packages
* Examples should have their own dependencies, if needed, not centralized

Next steps:
* Prepare a layout for storing OpenStack actions

Depends-on: Id8e5d55e34ec3b3d555b5482e13f99c2561e871e
Partially implements: blueprint mistral-custom-actions-api

Change-Id: Ic5b0f655686361ee00bdb70ea13bc66ce0769f90
2016-07-12 15:56:39 +07:00
Christian Berendt 58426acb47 Migrate README files to RST
The syntax of the README files is broken. Fix the syntax and change the
file suffix from md to rst.

Change-Id: I07461e6f931c610464092488f5a72a7516a2c064
2015-09-15 13:48:15 +02:00
TimurNurlygayanov 2626cf8f35 Fixed issues with tarball
Change-Id: I617de8f6b8b117aeaaf7a846b700c10fa9572d56
2014-04-30 18:09:48 +04:00
Renat Akhmerov 50708ea113 Working on Mistral examples
* Added "vm_job" example (NOT FINISHED)
* Refactoring overal examples structure
* Minor cosmetic changes.

Change-Id: I8dd47d89ccbd3b1ec003115c796b53cfdba247c1
2014-01-24 17:19:28 -08:00
Renat Akhmerov 709ee551ea Preparing project skeleton
Change-Id: I740c27faaaee8d1dc4d5460705f515e5685c67c7
2014-01-18 01:22:26 -08:00