-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Description
Description
When targetting minions which are unconnected, in batch mode, the unconnected minions are not included in the output (no errors, no output for the unconnected minions at all).
A good example of a scenario for this is test.ping where you may wish to check the response of minions and wish to do so in batches due to the number of minions on the master. If using batch mode, unconnected minions are not included in the output so you've no way of knowing they failed the test.ping
Setup
A master with one or more unconnected minions
Please be as specific as possible and give set-up details.
- VM (KVM)
- onedir packaging
Steps to Reproduce the behavior
salt -b 5 my-unconnected-minion test.ping
(the batch size can be anything, including 1)
After the timeout expires, command returns and no response is given
Expected behavior
The minion should be included in the output, stating the error, just as it is when batching it not used, e.g.
# salt my-unconnected-minion test.ping
my-unconnected-minion:
Minion did not return. [Not connected]
Versions Report
Salt Version:
Salt: 3006.5
Python Version:
Python: 3.10.13 (main, Nov 15 2023, 04:34:27) [GCC 11.2.0]
Dependency Versions:
cffi: 1.14.6
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.2
libgit2: 1.6.4
looseversion: 1.0.2
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 22.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.9.8
pygit2: 1.12.2
python-gnupg: 0.4.8
PyYAML: 6.0.1
PyZMQ: 23.2.0
relenv: 0.14.2
smmap: Not Installed
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: almalinux 8.8 Sapphire Caracal
locale: utf-8
machine: x86_64
release: 4.18.0-425.3.1.el8.x86_64
system: Linux
version: AlmaLinux 8.8 Sapphire Caracal