-
Notifications
You must be signed in to change notification settings - Fork 3.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
[Foreman] (Satellite 6) source host_filters no longer working #7225
Comments
(BTW I looked at "blame" on the foreman.py inventory plugin and I see nothing that has changed recently that seems related) |
Also rolling back to 11.0.0 immediately fixed the issue. |
@jadestorm this is a known issue in the foreman plugin that awx uses. Already fixed in the plugin theforeman/foreman-ansible-modules#823 Waiting for the release of respective collection, so that it can be used in awx. |
Fantastic! Thank you! |
|
cc @kdelee |
confirmed on awx 12.0.0 this is now working, closing (adding test coverage downstream) |
ISSUE TYPE
SUMMARY
In upgrading from 11.0.0 to 11.2.0, I found that my inventory source host_filters were no longer being honored. Instead, they were pulling the entire list of hosts from Foreman as if no filter was applied. (for example host_filters: 'os = windows' should only pull windows hosts)
ENVIRONMENT
STEPS TO REPRODUCE
2 In Source Variables put something like:
EXPECTED RESULTS
I expect it to honor the host_filters setting as it did in 11.0.0. =) I should have ended up with a handful of Windows hosts we have in Foreman.
ACTUAL RESULTS
I got all hosts from Foreman, Linux and Windows alike.
ADDITIONAL INFORMATION
I didn't see anything in the debug output that looked relevant.
The text was updated successfully, but these errors were encountered: