Skip to content

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

Description

@landychev

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbroken, incorrect, or confusing behaviorneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions