Commit Graph

34 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
Ghanshyam Mann bd95c59145 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I094d6ff2c13847123ed31ddf1b93b7bfa4fe3b50
2022-08-09 12:54:26 +00:00
Takashi Kajinami d8a8f99d39 Remove support for unmaintained Glare
Currently tox jobs are broken because python-glareclient can't be
installed with the latest constraints.

The conflict is caused by:
    python-cinderclient 8.3.0 depends on PrettyTable>=0.7.2
    python-glanceclient 3.6.0 depends on PrettyTable>=0.7.1
    python-glareclient 0.5.3 depends on PrettyTable<0.8 and >=0.7.1
    ...
    The user requested (constraint) prettytable===2.5.0

The Glare project has been unmaintained for a while[1]. It does not
support any of the current tested runtime and is considered to be
incompatible with recent OpenStack releases.

Because of these points, this change removes dependency on Glare.
Deprecation step is skipped to unblock CI jobs.

Also, this change removes the broken lower constraints job. It was
removed from Mistral a while ago[2] from the Mistral repo.

[1] https://opendev.org/x/glare
[2] https://review.opendev.org/c/openstack/mistral/+/770525

Change-Id: Ib6c138e3ce72ce775e29db80a076b9ade37ddaa0
2022-03-16 15:05:10 +00:00
Ghanshyam Mann dfc6c56490 Remove retired Qinling support
Qinling project is retiring in Wallaby cycle[1].
This commit removes the usages of Qinling project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/qinling/+/764521

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html

Change-Id: Ic35b8fb37fb1916a6e51c147372a92cdc04281cf
2020-11-29 00:02:44 +00:00
Renat Akhmerov f4272e3e3a Fix serialization of OpenStack actions
* In the recent version 2.3.0 of mistral-lib there has been added
  the new serialization mechanism for actions since the communication
  schema between Mistral engine and Mistral remote executor will soon
  require it (once merged). All classes for OpenStack actions are
  eventually dynamically generated based on the static classes like
  NovaAction, HeatAction etc., so to make the serialization work
  correctly we have to take this into account. The newly added class
  OpenStackActionSerializer takes care of that.

Change-Id: I8d7e2db0b17fb8f055f77363667ca4ab2c501b34
2020-09-09 14:53:03 +07: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
Eyal 57afe0a3f4 Fix requirements, tox , zuul
Change-Id: Ie32028c901831185d9694db8b9fd35829759a1ac
2020-01-16 11:54:46 +02:00
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
OpenStack Proposal Bot a2df1d7cf6 Updated from global requirements
Change-Id: If1cd404c76d1c17208b4e2f16b1bd276f57361b1
2016-07-09 03:12:11 +00:00
OpenStack Proposal Bot 59e78431e9 Updated from global requirements
Change-Id: I88a00386b1cb231d4f50bfadd9e612661a0e1f1e
2016-06-08 21:59:17 +00:00
OpenStack Proposal Bot 90a7acef35 Updated from global requirements
Change-Id: I5e0fc914b07374b20dce3010f458f762a35dfb24
2016-06-03 18:14:09 +00:00
OpenStack Proposal Bot a8c9c799e8 Updated from global requirements
Change-Id: Id736ebad37fbc0fa6a25c2cd17c1e7736680c8f4
2016-06-01 19:02:07 +00:00
OpenStack Proposal Bot 783b0c3873 Updated from global requirements
Change-Id: I7328eec0f68b86db5511d4280ad21288b448b949
2016-05-17 02:58:14 +00:00
OpenStack Proposal Bot 13feee0254 Updated from global requirements
Change-Id: I649b234986b5b42c152e7fe6c45d54b1a7434be2
2016-04-07 17:09:34 +00:00
OpenStack Proposal Bot 0e6c022d07 Updated from global requirements
Change-Id: Ib2b7749eb87c1b81e04c4731148a6fa431304022
2016-02-26 01:48:52 +00:00
OpenStack Proposal Bot 37c463e35d Updated from global requirements
Change-Id: I360607b24c7a3756a9115fe70757f7476aa62200
2016-02-19 18:52:07 +00:00
OpenStack Proposal Bot ad5d8d527c Updated from global requirements
Change-Id: I2307709e30b84026850f26755f2c54661f0e78fb
2016-02-11 07:40:29 +00:00
OpenStack Proposal Bot 0f83d5cf95 Updated from global requirements
Change-Id: I64871b222ca2770aa2bbfc9035926bc0bf301576
2016-01-28 01:27:42 +00:00
Jenkins 8ea306b499 Merge "Remove argparse from requirements" 2016-01-25 21:15:51 +00:00
OpenStack Proposal Bot 5172aa8dea Updated from global requirements
Change-Id: I014f40e0a0838386f2cb725eca992a8d6f770905
2016-01-24 20:49:52 +00:00
Andreas Jaeger b4a52499b5 Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:17:19 +01:00
OpenStack Proposal Bot d4f2a9f18a Updated from global requirements
Change-Id: I7ac8d6d016ae8f29adc0dd7cbf700ac9d91385b7
2016-01-19 13:48:36 +00:00
OpenStack Proposal Bot c3057f1aa0 Updated from global requirements
Change-Id: I920238f55616859acd83d4fd00b1d15e0f64e7cb
2016-01-09 04:55:19 +00:00
OpenStack Proposal Bot df6af9d61c Updated from global requirements
Change-Id: Ic54806c0b593ba1b91e383a33244baa214aa6c22
2015-11-19 15:57:03 +00:00
OpenStack Proposal Bot b035b76804 Updated from global requirements
Change-Id: I6deab5609467642be64c676637609cb9eee7e548
2015-10-24 00:23:59 +00:00
OpenStack Proposal Bot 41758d330e Updated from global requirements
Change-Id: I16e675387d4d93d806008ede93056646c05bb7b3
2015-10-16 00:42:39 +00:00
OpenStack Proposal Bot ffa42525b2 Updated from global requirements
Change-Id: I654e6a3cf6710e2abafe2a294662f84c9099f4a8
2015-09-18 16:38:48 +00:00
Anastasia Kuznetsova 3d1c85d608 Update requirements according to global requirements (master)
Change-Id: I8194128165cd4fe42cc70ff386df7bbc75a94bd5
2014-09-25 13:41:30 +04:00
Anastasia Kuznetsova a2d933cd20 Update requirements due to global-requirements
Also fix small pep8 issue (missed whitespace).

Change-Id: I6a312abf7748fb8af70892cb10224a3c9567ca3c
2014-07-02 11:29:23 +04:00
TimurNurlygayanov 2626cf8f35 Fixed issues with tarball
Change-Id: I617de8f6b8b117aeaaf7a846b700c10fa9572d56
2014-04-30 18:09:48 +04:00
TimurNurlygayanov cc5da8e92e Added demo web application
This application will be executed on the VM and will response
on API requests from Mistral.

Change-Id: I8c58a819d738465149ba5cc23ee46ba8a4e639fd
2014-02-20 16:51:15 +04:00
Nikolay Mahotkin 5e749d114d Move mistral demo-app to mistral-extra
Change-Id: I1790309fddb66a6c1fc91b479399a6eb88f189fa
2014-01-21 19:49:41 +04:00
Renat Akhmerov 709ee551ea Preparing project skeleton
Change-Id: I740c27faaaee8d1dc4d5460705f515e5685c67c7
2014-01-18 01:22:26 -08:00