Skip to content
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

[BUG] salt-api payload does not return jid when using list #67348

Open
landychev opened this issue Feb 5, 2025 · 1 comment
Open

[BUG] salt-api payload does not return jid when using list #67348

landychev opened this issue Feb 5, 2025 · 1 comment
Labels
Bug broken, incorrect, or confusing behavior needs-triage

Comments

@landychev
Copy link

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.

@landychev landychev added Bug broken, incorrect, or confusing behavior needs-triage labels Feb 5, 2025
Copy link

welcome bot commented Feb 5, 2025

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant