Open
Description
Description
I am using the Salt API to deploy a larger change with the state.apply function and the batch parameter.
However, it does not return any response or JID that would allow me to track the job.
I am using the following payload, where the minion list contains more than 100 minions:
command_payload = { "client": "local_batch", "tgt": minions, "expr_form": "list", "fun": "state.apply", "arg": [state_name], "batch": str(batch_size) }
It works if i use for loop instead and sending one minion at a time but that is not nice to the salt master and it is easy to get a timeout.