-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] salt version 3006.8 upgrade to 3006.9 grains issue #66774
Comments
It seems our culprit windows were on older versions that were on 3006 & had setups that still used the legacy setup location C:\salt
# vs
C:\Program Files\Salt Project Updating to latest 3007.1 & moving the /c/salt dir to the new location cleaned up the windows machines for our salt-hub on 3006.9. |
👍 Could not reproduce on RedHat 9 or Rocky Linux 9, thanks for closing it. |
@dmurphy18 I was able to reproduce the odd behavior with our salt-master upgrading on rhel_9.4 from salt-master version 3006.8 to 3006.9 & with Windows machines again in our last environment.
So in our case. Restarting the windows minions after the salt-master upgrade cleared the odd unnecessary targeting we were seeing. |
@dmurphy18 , Thanks for fixing and released the 2024-11-07 version of bootstrap-salt.sh.
|
Description
Salt hub with version 3006.8 will properly target minions based on grain targeting.
e.g.:
Salt hub with version 3006.9 will NOT properly target minions based on grain targeting.
e.g.:
If target for windows or mac, similar results will target other OS as well
Setup
Have a salt-master setup with a mac, windows & linux minion (rhel in our case).
Try to test ping minions of a specific OS
And some more complex targeting with grains seem to be incorrect as well.
Test compound targeting:
Will return mac minions as well. (only on 3006.9)
Or
Will return windows minions as well. (only on 3006.9)
Please be as specific as possible and give set-up details.
We set a grain called unit
This is no longer working as well, version os salt on 3006.9 over target.
Say targeting group of server unit:3/3 is returning more minions that are not in that group, and those minions that are incorrectly target fail to respond
Steps to Reproduce the behavior
Have a salt-master setup with a mac, windows & linux minion (rhel in our case).
And run simple test.ping commands and more complex targeting
Expected behavior
Expect to only return targeted minions:
Test compound targeting:
Should only return windows or rhel minions.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: