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.

Bug 1989441

Summary: Oscap anaconda addon traceback during graphical installation
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stodola <jstodola>
Component: oscap-anaconda-addonAssignee: Matěj Týč <matyc>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.5CC: matyc, mdeng, mhaicman, release-test-team-automation, wsato, yfu, yihyu
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: oscap-anaconda-addon-1.2.1-2.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1989434 Environment:
Last Closed: 2021-11-09 18:50:43 UTC Type: Bug
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: 1956679, 1970873    

Description Jan Stodola 2021-08-03 08:51:58 UTC
+++ This bug was initially created as a clone of Bug #1989434 +++

Description of problem:
During graphical kickstart installation there was a traceback in anaconda.log and the installation did not finish:

03:32:43,213 DBG ui.gui.spokes.storage: Checking storage configuration...
03:32:43,215 DBG modules.payloads.payload.dnf.dnf_manager: Transaction include list:
['@core', '@core', 'kernel']
03:32:43,220 DBG modules.payloads.payload.dnf.dnf_manager: Transaction exclude list:
[]
07:32:43,221 CRT exception: Traceback (most recent call last):

  File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)

  File "/usr/lib64/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)

  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 147, in decorated
    ret = func(self, *args, **kwargs)

  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 420, in _init_after_data_fetch
    content = self.content_bringer.finish_content_fetch(

  File "/usr/share/anaconda/addons/org_fedora_oscap/content_discovery.py", line 166, in finish_content_fetch
    content = self._finish_actual_fetch(fetching_thread_name, fingerprint, report_callback, dest_filename)

  File "/usr/share/anaconda/addons/org_fedora_oscap/content_discovery.py", line 207, in _finish_actual_fetch
    labelled_files = content_handling.identify_files(fpaths)

  File "/usr/share/anaconda/addons/org_fedora_oscap/content_handling.py", line 114, in identify_files
    with multiprocessing.Pool(os.cpu_count()) as p:

  File "/usr/lib64/python3.9/multiprocessing/context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,

  File "/usr/lib64/python3.9/multiprocessing/pool.py", line 212, in __init__
    self._repopulate_pool()

  File "/usr/lib64/python3.9/multiprocessing/pool.py", line 303, in _repopulate_pool
    return self._repopulate_pool_static(self._ctx, self.Process,

  File "/usr/lib64/python3.9/multiprocessing/pool.py", line 326, in _repopulate_pool_static
    w.start()

  File "/usr/lib64/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)

  File "/usr/lib64/python3.9/multiprocessing/context.py", line 277, in _Popen
    return Popen(process_obj)

  File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)

  File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 73, in _launch
    os._exit(code)

  File "/sbin/anaconda", line 285, in <lambda>
    signal.signal(signal.SIGTERM, lambda num, frame: sys.exit(1))

SystemExit: 1

07:32:43,223 DBG exception: Gtk running, queuing exception handler to the main loop
07:32:43,226 INF threading: Thread Done: OSCAPguiWaitForDataFetchThread (140072860329536)
03:32:43,265 DBG ui.gui.hubs: spoke is ready: SoftwareSelectionSpoke


Version-Release number of selected component (if applicable):
anaconda-34.25.0.12-1.el9
oscap-anaconda-addon-2.0.0-1.el9

How reproducible:
Sometimes (1 out of 50 installations?)

Steps to Reproduce:
1. Run kickstart installation in graphical mode, do not configure oscap anaconda addon in the kickstart file.

Actual results:
Traceback in anaconda.log, aborted installation.

Expected results:
Successful installation.

Additional info:
It could be related to bug 1982612, however reports in bug 1982612 do not a traceback in anaconda.log, so I'm reporting it as a new issue.

Comment 4 Jan Stodola 2021-08-11 15:14:19 UTC
*** Bug 1989810 has been marked as a duplicate of this bug. ***

Comment 7 Jan Stodola 2021-08-17 11:28:53 UTC
oscap-anaconda-addon-1.2.1-2.el8 is present in RHEL-8.5.0-20210816.n.0, moving to VERIFIED.

Comment 9 errata-xmlrpc 2021-11-09 18:50:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (oscap-anaconda-addon bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4312