-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-system-roles-1.120.4-0.1.el10
-
None
-
Low
-
1
-
rhel-system-roles
-
0
-
Dev ack
-
False
-
False
-
-
Yes
-
Red Hat Enterprise Linux
-
SysRoles Parking Lot
-
Requested
-
None
-
Bug Fix
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Cause: NetworkManager is not installed on some EL7 systems by default.
Consequence: The interface_pci_id could not be found.
Fix: Ensure NetworkManager is installed on EL7.
Result: The interface_pci_id can be used on EL7.
Also - `module.warn` is deprecated - use `warnings` instead if `module.warn` is
not supported.
Fix the interface pci test to ensure NetworkManager is running before the test.
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
-
- Summary by Sourcery
Ensure interface_pci_id functionality works reliably on EL7 systems and surface deprecation warnings without relying on module.warn support.
Bug Fixes:
- Ensure NetworkManager is installed and running on EL7 so interface_pci_id lookups succeed.
- Return interface_pci_id lookup warnings via the module result when module.warn is unavailable.
- Gate nftables ruleset checks in the interface PCI test on nftables backend availability.
Enhancements:
- Pass accumulated warning messages through the firewall module’s exit_json payload for consumers to inspect.
- Refine interface PCI ID parsing to return both interface names and an optional warning message.
Tests:
- Update the interface PCI integration test to install/start NetworkManager on EL7 and to use shared distro vars for backend detection.
Chores:
- Adjust package defaults to include NetworkManager and python-ipaddress on EL7 to support interface_pci_id and ipaddress usage.
- links to
-
RHEA-2025:155382
rhel-system-roles bug fix and enhancement update