Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionSergii Golovatiuk
2022-06-28 18:19:43 UTC
Description of problem:
Leapp cannot upgrade 8.4 to 9.1 due to firewalldcollectusedobjectnames actor
How reproducible:
Always
Steps to Reproduce:
1. Run leapp preupgrade
Actual results:
==> Processing phase `FactsCollection`
====> * firewalld_collect_used_object_names
This actor reads firewalld's configuration and produces Model
Process Process-133:
Traceback (most recent call last):
File "/usr/lib64/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
actor_instance.run(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/leapp/actors/__init__.py", line 289, in run
self.process(*args)
File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/firewalldcollectusedobjectnames/actor.py", line 19, in process
self.produce(read_config())
File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/firewalldcollectusedobjectnames/libraries/private_firewalldcollectusedobjectnames.py", line 68, in read_config
conf = fw.config.get_zone_config_dict(obj)
AttributeError: 'FirewallConfig' object has no attribute 'get_zone_config_dict'
Expected results:
passed actor
Additional info:
RHEL 8.4 has python3-firewall-0.8.2-6.el8.noarch
RHEL 8.6 has python3-firewall-0.9.3-11.el8.noarch which has
/usr/lib/python3.6/site-packages/firewall/core/fw_config.py
def get_zone_config_dict(self, obj):
return obj.export_config_dict()
and actor has
private_firewalldcollectusedobjectnames.py
conf = fw.config.get_zone_config_dict(obj)
As a solution we may fix actor to be compatible with RHEL 8.4. Or backport python3-firewall-0.9.3 to RHEL 8.4
Description of problem: Leapp cannot upgrade 8.4 to 9.1 due to firewalldcollectusedobjectnames actor How reproducible: Always Steps to Reproduce: 1. Run leapp preupgrade Actual results: ==> Processing phase `FactsCollection` ====> * firewalld_collect_used_object_names This actor reads firewalld's configuration and produces Model Process Process-133: Traceback (most recent call last): File "/usr/lib64/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python3.6/site-packages/leapp/actors/__init__.py", line 289, in run self.process(*args) File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/firewalldcollectusedobjectnames/actor.py", line 19, in process self.produce(read_config()) File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/firewalldcollectusedobjectnames/libraries/private_firewalldcollectusedobjectnames.py", line 68, in read_config conf = fw.config.get_zone_config_dict(obj) AttributeError: 'FirewallConfig' object has no attribute 'get_zone_config_dict' Expected results: passed actor Additional info: RHEL 8.4 has python3-firewall-0.8.2-6.el8.noarch RHEL 8.6 has python3-firewall-0.9.3-11.el8.noarch which has /usr/lib/python3.6/site-packages/firewall/core/fw_config.py def get_zone_config_dict(self, obj): return obj.export_config_dict() and actor has private_firewalldcollectusedobjectnames.py conf = fw.config.get_zone_config_dict(obj) As a solution we may fix actor to be compatible with RHEL 8.4. Or backport python3-firewall-0.9.3 to RHEL 8.4