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

when the minions have all been destroyed... #31219

Closed
gladiatr72 opened this issue Feb 15, 2016 · 1 comment
Closed

when the minions have all been destroyed... #31219

gladiatr72 opened this issue Feb 15, 2016 · 1 comment
Labels
Bug broken, incorrect, or confusing behavior Core relates to code central or existential to Salt fixed-pls-verify fix is linked, bug author to confirm fix P3 Priority 3 severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone

Comments

@gladiatr72
Copy link
Contributor

This should not happen. It doesn't happen when the static (-s) is left off

:# salt -s -C 'not ( I@cluster_id:000 ) and I@subcomponent:log' disco.ei bare=True first=True
No minions matched the target. No command was sent, no jid was assigned.
[ERROR   ] An un-handled exception was caught by salt's global exception handler:
SaltClientError: No minions matched the target.
Traceback (most recent call last):
  File "/srv/.virtualenvs/salt/bin/salt", line 10, in <module>
    salt_main()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/scripts.py", line 458, in salt_main
    client.run()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/salt.py", line 82, in run
    batch = salt.cli.batch.Batch(self.config, eauth=eauth, quiet=True)
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/batch.py", line 34, in __init__
    self.minions, self.ping_gen = self.__gather_minions()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/batch.py", line 62, in __gather_minions
    raise salt.exceptions.SaltClientError('No minions matched the target.')
SaltClientError: No minions matched the target.
Traceback (most recent call last):
  File "/srv/.virtualenvs/salt/bin/salt", line 10, in <module>
    salt_main()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/scripts.py", line 458, in salt_main
    client.run()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/salt.py", line 82, in run
    batch = salt.cli.batch.Batch(self.config, eauth=eauth, quiet=True)
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/batch.py", line 34, in __init__
    self.minions, self.ping_gen = self.__gather_minions()
  File "/srv/.virtualenvs/salt/local/lib/python2.7/site-packages/salt/cli/batch.py", line 62, in __gather_minions
    raise salt.exceptions.SaltClientError('No minions matched the target.')
salt.exceptions.SaltClientError: No minions matched the target.
:# salt --versions
Salt Version:
           Salt: 2015.8.5

Dependency Versions:
         Jinja2: 2.8
       M2Crypto: 0.21.1
           Mako: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.1.0
         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)
           RAET: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.2
           cffi: 1.2.1
       cherrypy: 3.8.0
       dateutil: 2.4.2
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
        libgit2: Not Installed
        libnacl: 1.4.3
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
         pygit2: Not Installed
   python-gnupg: 2.0.2
          smmap: Not Installed
        timelib: 0.2.4

System Versions:
           dist: Ubuntu 14.04 trusty
        machine: x86_64
        release: 3.13.0-76-generic
         system: Ubuntu 14.04 trusty
@jfindlay jfindlay added Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around P3 Priority 3 Core relates to code central or existential to Salt labels Feb 16, 2016
@jfindlay jfindlay added this to the Approved milestone Feb 16, 2016
@jfindlay
Copy link
Contributor

@gladiatr72, thanks for reporting.

@cachedout cachedout added the fixed-pls-verify fix is linked, bug author to confirm fix label Jun 3, 2016
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 Core relates to code central or existential to Salt fixed-pls-verify fix is linked, bug author to confirm fix P3 Priority 3 severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
None yet
Development

No branches or pull requests

3 participants