salt icon indicating copy to clipboard operation
salt copied to clipboard

Allow specifying jid for all salt command calls.

Open colinjkevans opened this issue 9 years ago • 3 comments

Description of Issue/Question

We have a web dashboard to track the status of salt jobs, where return info from minions is grouped by jid. When we run a salt command from the CLI in batch mode, each group of minions is given a different jid. So instead of getting a single entry in the dashboard with return info for all minions targetted by the salt command, we get a variable number of them.

I'd like a way to be able to correlate jobs started by the same CLI command (or API call or whatever). Does such a thing exist?

colinjkevans avatar Feb 08 '17 21:02 colinjkevans

Unfortunately that is not possible currently. The only way that would be possible right now is to pass --jid, but that is only supported on the ssh client, and is not passed down when using batch.

gtmanfred avatar Feb 09 '17 14:02 gtmanfred

I have tagged this as a feature request to add this ability.

gtmanfred avatar Feb 09 '17 14:02 gtmanfred

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Sep 02 '18 18:09 stale[bot]