You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
For example, salt -G "os:macos" test.ping will display correct output of macos minions but right after the correct display it also display other minions and make them as not responded in time(salt-run jobs.lookup_jid xxxxx).
I believe this is a regression from early version of salt.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
[ x] on-prem machine
VM (Virtualbox, KVM, etc. please specify)
VM running on a cloud service, please be explicit and add details
container (Kubernetes, Docker, containerd, etc. please specify)
or a combination, please be explicit
jails if it is FreeBSD
classic packaging
[ x] onedir packaging
[ x] used bootstrap to install
Steps to Reproduce the behavior
Ex: two real macos minions responded but it also match the other 300 non-macos minions.
[me@salt01]$ sudo salt -G "os:macos" test.ping
<snipped>
-------------------------------------------
Summary
-------------------------------------------
# of minions targeted: 300
# of minions returned: 2
# of minions that did not return: 300
# of minions with errors: 0
-------------------------------------------
ERROR: Minions returned with non-zero exit code
[me@salt01]$
this is rocklinux case: 200 non rocky minion also got contacted for ping result and failed.
[me@salt01 ]$ sudo salt -C 'G@os:rocky' test.ping
<snipped>
-------------------------------------------
Summary
-------------------------------------------
# of minions targeted: 400
# of minions returned: 200
# of minions that did not return: 200
# of minions with errors: 0
-------------------------------------------
ERROR: Minions returned with non-zero exit code
[me@salt01 ]$
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3006.9Python Version:
Python: 3.10.14 (main, Jun 26 2024, 11:44:37) [GCC 11.2.0]Dependency Versions:
cffi: 1.14.6cherrypy: unknowncryptography: 42.0.5dateutil: 2.8.1docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.4libgit2: Not Installedlooseversion: 1.0.2M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.2msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 22.0pycparser: 2.21pycrypto: Not Installedpycryptodome: 3.19.1pygit2: Not Installedpython-gnupg: 0.4.8PyYAML: 6.0.1PyZMQ: 23.2.0relenv: 0.17.0smmap: Not Installedtimelib: 0.2.4Tornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: rocky 8.10 Green Obsidianlocale: utf-8machine: x86_64release: 4.18.0-553.16.1.el8_10.x86_64system: Linuxversion: Rocky Linux 8.10 Green Obsidian
salt -G 'os:redhat' test.ping # should returns minons that are redhat
Workaround solution by restarting unnecessary targeted minions .
Restarting the windows minions.
after the salt-master upgrade cleared the odd unnecessary targeting we were seeing.
Issue 2: If a host is down at time of running grain targetting the salt -G 'os:redhat' test.ping will failed and showing all those disconnected minion name.
Description
For example, salt -G "os:macos" test.ping will display correct output of macos minions but right after the correct display it also display other minions and make them as not responded in time(salt-run jobs.lookup_jid xxxxx).
I believe this is a regression from early version of salt.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Ex: two real macos minions responded but it also match the other 300 non-macos minions.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
The text was updated successfully, but these errors were encountered: