Bug 2223032
| Summary: | facts being gathered unnecessarily | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Rich Megginson <rmeggins> | |
| Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | |
| Status: | ON_QA --- | QA Contact: | Jakub Haruda <jharuda> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.3 | CC: | djez, jharuda, spetrosi, vdanek | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | 9.3 | Flags: | rmeggins:
needinfo?
(djez) rmeggins: needinfo? (vdanek) |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | role:ALL | |||
| Fixed In Version: | rhel-system-roles-1.22.0-0.16.el9 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The comparison of the present facts with the required facts is
being done on unsorted lists.
Consequence: The comparison may fail if the only difference is the
order. Facts are gathered unnecessarily.
Fix: Use difference which works no matter what the order is. Ensure
that the fact gathering subsets used are the absolute minimum required.
Result: The role gathers only the facts it requires, and does
not unnecessarily gather facts.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2223036 (view as bug list) | Environment: | ||
| Last Closed: | Type: | --- | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2223036 | |||
|
Description
Rich Megginson
2023-07-14 21:45:31 UTC
Here is the script which can check logs https://github.com/linux-system-roles/auto-maintenance/pull/286 |