Commit Graph

12 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
jiaopengju bba93226e6 Add trigger verification in API
Currently, we use 'cast' instead of 'call' to send request
from api to operationengine when creating a new trigger.
With 'cast', it will not give a return value to api even the
trigger is invalid, so users can create triggers successfully
with using invalid triggers.

This patch add trigger verification in API side. Before send
create request to operationengine, API send a verify request
to operationengine first, which type is 'call', to make sure
the trigger will be created is valid.

Change-Id: Iea734e1b4a63f6e35afe32cbbb2b60f79d6db085
Closes-Bug: #1736657
2018-01-26 13:50:37 +08:00
Yuval Brik c8af5d225c Operation Engine: Support Trigger Multi Node
In multi operation engine nodes scenario, each trigger must be handled
by one node. If a trigger is raised in more than 1 node, the same
operation will start execution in the same time.

Create TriggerExecutions table in database, which will be used to sync
the next trigger executions. Each node tries to atomically update the
next execution time, and only a node which succeeds can move forward on
handling the actual trigger.

Change-Id: I8f276f4612e8b3a0dc86bc0d300e55c40ee9c0f2
2017-10-15 15:58:17 +03:00
Jenkins 5516e645ca Merge "Operation Engine: Remove the triggered state" 2017-07-23 14:28:27 +00:00
yushangbin e98efe778a Add choices field in config definition
When generating karbor.conf.sample with `oslo-config-generator`, this will
provide "Allowed values" information in configurations, so people needn't
check karbor code base to get the values.

Change-Id: I4f7483f0fd8580fcaa47376754727e574bf11152
2017-07-17 16:45:34 +08:00
Yuval Brik fcf69d34b4 Operation Engine: Remove the triggered state
In ScheduledOperationState, there are two states: 'triggered' and
'running'. The two states can be merged into one.

Change-Id: I0c8ffdfb9245dd1273af374b1cf38891c9743208
2017-07-03 10:21:07 +03:00
Yuval Brik 7e708ccc93 operation-engine: unsingleton managers
Defer auth in operation engine managers, unsingleton managers.

Change-Id: Ic0a575b4001df648772693704a21cec34b172aec
2017-03-05 13:13:35 +02:00
Yuval Brik 04e2086ad9 Use parenthesis instead of slash for multiline
Change-Id: I4111fb46613cf44645cb2f276a21be685de865d8
2016-12-25 10:23:19 +02:00
Cao Xuan Hoang 251f01ee2d Remove cfg import unused
This patch removes cfg import unused in karbor

Change-Id: I1b1b68f939114a97975d9bdb0000ba2e28f544c5
2016-11-28 14:46:47 +07:00
zengchen fb42c1ada7 Support multiple executors to choose for scheduled operation
Change-Id: I9e557d50a7e8b4c76bb52a35ebd5f664a947f37d
2016-09-23 15:22:38 +08:00
zengchen 29fee84c52 Add suspend/resume operation interface in Operation Engine
suspend interface will pause the operation and it will not be triggered;
resume interface will resume the operation to be triggered.

Change-Id: I2d3fb84d53d5bad783bc4b1236091b7fca6727d8
Closes-Bug: #1606467
2016-08-30 11:12:00 +08:00
chenying 1c60dac7fa Change Smaug to Karbor
There was a decision in the community to change the project name.

Change-Id: I8b3d538b9573ebaa2a873f4696e1f1a500c941a8
2016-08-18 22:55:34 +08:00