-
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
Salt occasionally lose command when publish a large command #46553
Comments
Lines 854 to 856 in b5b083f
pub_sock will immediately destroy after payload send, master pull socket not received the payload. I think the reason is: zeromq/libzmq#1922 |
@pengyao Thanks for the report. So we have a better change of reproducing this, can you provide more information about the target and command that you're sending along is? |
My test case:
echo "zmq_filtering: True" >> /etc/salt/master
# After line 768
log.info('Get payload from pull sock')
# After line 855
log.info('Send payload to pull sock')
service salt-master restart
In my test case, |
@pengyao Can you try adding |
@garethgreenaway I have added |
@garethgreenaway I updated zeromq to 4.0.8, and test the case again. The problem is resolved. In 4.0.8 ChangeLog:
zeromq/libzmq#1877 have been repaired the problem |
#50463 fixed it |
Description of Issue/Question
If command or target is big, salt occasionally lose the payload in publish_pull socket
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: