fire_event requisite does not work in orchestration states #34255
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
P4
Priority 4
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description of Issue/Question
Using the
fire_event
requisite in combination with orchestration results in zero events ever getting fired on the master event bus.Setup
I would expect to receive an event with the tag
salt/state_result/my.master/my/event
. As you can see, this never happens.This appears to happen because the event code in
salt/state.py
assumes it is always working from minion context. Relevant code:I'm working on a pull request that I think will solve the issue but I would like some further insight because this is deep in critical internals.
Steps to Reproduce Issue
Run the orchestrate runner with the SLS given above.
Versions Report
The text was updated successfully, but these errors were encountered: