Discussion:
[salt-users] How can I show the jid when running the cmd line salt with --batch-size with either --verbose or --show-jid options?
d***@eduserv.org.uk
9 years ago
Permalink
Hi,

I've been trying to get the jid when running the salt command line with
--batch-size using either --verbose or --show-jid

eg:

salt '*' --batch-size 5 --show-jid cmd.run 'sleep 15'
or
salt '*' --batch-size 5 --verbose cmd.run 'sleep 15'

and the jid is not included in the o/p, all I get is something like:

Executing run on ['minion1', 'minion2', 'minion3', 'minion4', 'minion5']

minion1:
retcode:Which version of salt shows theWhich version of salt shows the
0
minion2:
retcode:
0
minion3:
retcode:
0

Executing run on ['.....

I've tried 2015.5.5 and 2015.8.1, so I'm wondering if I got the syntax
wrong. With the batch-size option, the jid is printed fine.

How can I get the jid when running the cmd line salt with --batch-size
with either --verbose or --show-jid options?

Best Regards
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
David Boucha
9 years ago
Permalink
I've done some testing and I'm seeing the same behavior in 2015.8.8.2, but
it appears to have been fixed in the head of the 2015.8 branch

I'm also seeing this on the 2016.3 branch.

Would you mind opening an issue for this on Github? Seems like a bug to me.
...
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
d***@eduserv.org.uk
9 years ago
Permalink
Done #32856
...
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...