-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
None
-
RHEL 8 and probably RHEL 7 (with package "python-firewall" instead).
Package version:
Latest (all)
-
None
-
Low
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
Issue description:
Leapp upgrade/preupgrade fails with the following error if "Firewalld" is not present in the system, but "python3-firewall" is:
2023-09-25 12:45:44.995 INFO PID: 1877982 leapp.workflow.FactsCollection: Executing actor firewalld_collect_used_object_names
ERROR: Failed to load '/etc/firewalld/firewalld.conf': [Errno 2] No such file or directory: '/etc/firewalld/firewalld.conf'
WARNING: [Errno 2] No such file or directory: '/etc/firewalld/firewalld.conf'
WARNING: Using fallback firewalld configuration settings.
ERROR: No icmptypes found.
ERROR: No services found.
ERROR: Failed to load zone file '/usr/lib/firewalld/zones/nm-shared.xml': INVALID_SERVICE: dhcp
FATAL ERROR: Zone 'block' is not available.
FATAL ERROR: Zone 'drop' is not available.
FATAL ERROR: Zone 'trusted' is not available.
====================================================================================================================
Actor firewalld_collect_used_object_names unexpectedly terminated with exit code: 1 - Please check the above details
====================================================================================================================
The root cause is the actor "firewalld_collect_used_object_names" checking if it's possible to import firewall.core.fw (which is provided by "python3-firewall") to determine if the actor needs to be run.