Merge "Skip actions automatically based on pre_condition results"

This commit is contained in:
Zuul
2025-08-26 12:33:08 +00:00
committed by Gerrit Code Review
12 changed files with 467 additions and 15 deletions

View File

@@ -384,7 +384,9 @@ following methods of the :ref:`Action <action_definition>` handler:
- **preconditions()**: this method will make sure that all conditions are met
before executing the action (for example, it makes sure that an instance
still exists before trying to migrate it).
still exists before trying to migrate it). If certain predefined conditions
are found in this phase, the Action is set to **SKIPPED** state and will
not be executed.
- **execute()**: this method is what triggers real commands on other
OpenStack services (such as Nova, ...) in order to change target resource
state. If the action is successfully executed, a notification message is