-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fun_args not passed properly via salt-syndic #45823
Comments
I have verified this. Thanks for reporting, |
Any idea when someone might work on it? |
@saltstack/team-triage this one might make sense as a blocker @ze42 if it is not a blocked for a release, then I have no idea when it will be worked on, but a pull request to fix it would be greatly appreciated |
If I had enough knowledge about the workflow and where to fix it, there would already be a PR. |
For 2 release cycles we have not been able to write a test for this, so I am putting in back into |
Just got hit with this bug too which was breaking some of our tooling in our migration to Syndic |
Doing some quick digging I believe the issue is here https://github.com/saltstack/salt/blob/master/salt/master.py#L1751-L1752
|
There's actually a second part that needs changed as well which is the syndic code in the minion which needs to forward fun_args as well Line 3685 in 9012911
|
I've posted and tested a fix here #62809 It still I think needs unit tests however |
This fixes issue saltstack#45823 which is the fun_args value missing from the Salt Syndic returns.
Description of Issue/Question
In return events (
salt/job/<jid>/ret/<minion>
), thefun_args
get striped from when returned by the syndic.Setup
salt-master
and a localsalt-minion
connected to it.salt-syndic
to report to the first.In examples bellow:
d-ze-std01-empty
is the main master,d-ze-std04-empty
is the one with a syndic on it.Steps to Reproduce Issue
Just lanch a command on the syndic'ed minion... and watch for the events on both salt-master.
Launching the command:
Watching the results, from the main master:
From the secondary master:
Notice how
"fun_args"
changes from[]
tonull
when seen on the main master...(Also tested with
test.args
having bigger data... same results, appears properly on the master connected to the minion, stripped once moving up viasalt-syndic
).Versions Report
Tested on
2016.11.6+ds-1
and2017.7.2+ds-1
(same version on both server).Latest tested:
The text was updated successfully, but these errors were encountered: