In Ifc919667e83573bd6c3b7aff205fe08e82667457,
instances.edit method in troveclient rename to
instances.update
Change-Id: I7bad94f133258a4d2ecff664b9c4f452d3f67b86
Signed-off-by: yaoning <yaoning@unitedstack.com>
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
Barbican python client has implemented new methods in 5.5.0
which requires call to barbican API to create client.
There are no way for now to really get a fake barbican client.
Mocking the method responsible of that call in the tests
so it doesn't need to make the API call.
Change-Id: I6a607c8941bdb219de1cc212403124dea8ccac23
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
* 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
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I8547aec13aa28fecf75f957e1f2ca7f5c56628ea
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* 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
* The Qinling client doesn't have an rpm packaging so
running the unit test might fail if not installed.
Change-Id: Id551b07721fa9c1cdeaa60ae717af82a05e2234a
Needed-By: https://review.rdoproject.org/r/#/c/14216/
* The Zun client doesn't have an rpm packaging so
running the unit test might fail if not installed.
* The Designate client was fixed so there is no need to mock it.
* Use Mock Fixture instead of calling directly the mock.patch,object
Change-Id: Id7226c889c18dbe3a38b106b0cdac5e331f54e3a
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