Skip to content

salt --show-jid does not show job id when run in batch mode #31738

Closed

Description

@igorwidlinski

Description of Issue/Question

show-jid does not seem to show the job id for the job being executed when used with batch mode

Setup

No job id when run in batch mode:

[root@salt-devops salt]# salt -b 1 --show-jid 'node002*' test.ping
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)

Executing run on ['node002.cluster.aws.example.com']

node002.cluster.aws.example.com:
    True
retcode:
    0

Versions Report

[root@salt-devops salt]# salt --versions-report
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
Salt Version:
           Salt: 2015.8.7

Dependency Versions:
         Jinja2: 2.8
       M2Crypto: 0.20.2
           Mako: Not Installed
         PyYAML: 3.11
          PyZMQ: 14.5.0
         Python: 2.6.6 (r266:84292, Jul 22 2015, 16:47:47)
           RAET: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.0.5
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: 2.4.2
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
        libgit2: Not Installed
        libnacl: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
   python-gnupg: Not Installed
          smmap: Not Installed
        timelib: Not Installed

System Versions:
           dist: redhat 6.3 Carbon
        machine: x86_64
        release: 2.6.32-573.12.1.el6.x86_64
         system: Scientific Linux 6.3 Carbon

Activity

  1. added
    bug
    severity-low
    Core
    P3
    on Mar 8, 2016
  2. added this to the Approved milestone on Mar 8, 2016
  3. added
    Confirmed
    on Mar 8, 2016
  4. jfindlay commented on Mar 8, 2016

    @jfindlay
    Contributor

    @igorwidlinski, thanks for reporting.

    jmoney-main ~ master # salt -b 1 --show-jid jmoney-main test.ping
    
    Executing run on ['jmoney-main']
    
    jmoney-main:
        True
    retcode:
        0
    jmoney-main ~ master # salt --show-jid jmoney-main test.ping
    jid: 20160308100553595236
    jmoney-main:
        True
    jmoney-main ~ master # salt --show-jid jmoney-main test.version
    jid: 20160308100753858521
    jmoney-main:
        2015.8.7
  5. added a commit that references this issue on Apr 8, 2016
    74d0fa0
  6. added
    fixed-pls-verify
    and removed on Apr 8, 2016
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

    ConfirmedCoreP3bugfixed-pls-verifyseverity-low

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions