[BUG] 3003 salt-minion msgpack deserialization failure when running salt-master custom runner in high concurrency. #60094
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
msgpack
Phosphorus v3005.0
Release code name and version
severity-high
2nd top severity, seen by most users, causes major problems
Milestone
Description
I create a custom runner module to upload bash script to master and run this script in multiple minions using
cmd.script
module. But when I was doing load testing for this runner, strange things happened. If I run multiple custom runner in parallel, one of minions will raiseUnpack failed: incomplete input
. And I set the salt-minion log_level_logfile to trace, and I see the incoming message is complete when coming from the master in the first place. But then it will show the msgpack deserialization failure when process manager fork a process to execute the job.salt-master custom runner script.py
salt-minion log for msgpack failed
But if I disable the process_count_max for every minion, the msgpack deserialization failed exception will not happen again. And if I decrease the concurrency, and this situation will not happen neither.
Setup
salt-master setup
salt-master config
salt-master machine info
salt-minion setup
salt-minion config
salt-minion machine info
Salt-master Versions Report
salt-master --versions-report
Salt-minion Versions Report
salt-minion --versions-report
The text was updated successfully, but these errors were encountered: