--static flag causes longer run time #56180
Labels
Bug
broken, incorrect, or confusing behavior
Confirmed
Salt engineer has confirmed bug/feature - often including a MCVE
Performance
severity-high
2nd top severity, seen by most users, causes major problems
Milestone
Description of Issue
When running a salt command with the
--static
flag it causes the run time of a module function to increases by order of magnitude.eg.
Example function targeting approximately 1000 minions:
vs when adding the `--static flag:
Forcing a low timeout does not help the static case either, I am trying to use the
--static
flag to get valid/parseable JSON as a whole from the output.This issue has arisen recently without any changes to our salt deployment other than adding in a new reactor that listens for high states:
console-highstate.sls:
The current work around is to not use the
--static
flag and perform string manipulation to make the whole output valid JSON. Would like to know why the static flag is causing this large increase in time though. None of the minions are failing from the call in either case where the flag is set or not.Versions Report
The text was updated successfully, but these errors were encountered: