Actions
Bug #14001
openWrapping `host.save` call into external trasnaction causes the `post_commit` orchestration to be triggered even when failures in `pre_commit` orchestration
Status:
New
Priority:
Normal
Assignee:
-
Category:
Orchestration
Target version:
-
Description
This was discovered in a foreman discovery plugin, where the controllers were
wrapped in explicit transactions (which itself should not be considered harmful).
However, trying to do this, the post_commit orchestration gets triggered
even if the pre_commit phase fails and rolls back.
I'm filling this bug in mainly for tracking the limitations of the current
orchestration that has not simple solution without rethinking the way
we do the provisioning orchestration.
Actions