-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-8.8.0
-
None
-
Moderate
-
sst_security_compliance
-
ssg_security
-
None
-
False
-
-
Yes
-
None
-
None
-
None
-
Known Issue
-
-
Done
-
-
x86_64
-
None
This bug was initially created as a copy of Bug #2165920
I am copying this bug because:
It seems to be the same problem; differs only in a couple of details.
Description of problem:
Anaconda GUI (Security Profile spoke) shows error 'There was an unexpected problem with the supplied content.' when trying to fetch a valid OSCAP tailored profile as RPM.
Output from /tmp/anaconda.log:
...
06:57:15,834 DBG ui.common: Entered spoke: OSCAPSpoke
06:57:30,424 INF misc: Fetching data from http://rtt1.s390.bos.redhat.com/oaa/sc_tailoring.rpm
06:57:30,425 INF threading: Running Thread: AnaOSCAPdataFetchThread (140044331710208)
06:57:30,427 INF threading: Running Thread: OSCAPguiWaitForDataFetchThread (140044658378496)
06:57:30,452 INF misc: Data fetch from http://rtt1.s390.bos.redhat.com/oaa/sc_tailoring.rpm completed
06:57:30,452 INF threading: Thread Done: AnaOSCAPdataFetchThread (140044331710208)
06:57:30,453 INF misc: OSCAP addon: Extracting /tmp/openscap_data/sc_tailoring.rpm
06:57:30,464 DBG ui.gui.hubs: setting OSCAPSpoke status to: Fetching content data
06:57:30,468 DBG ui.gui.hubs: spoke is not ready: OSCAPSpoke
06:57:30,479 INF misc: OSCAP addon: Extracted ['/tmp/openscap_data/usr/share/xml/scap/sc_tailoring/tailoring-xccdf.xml', '/tmp/openscap_data/usr/share/xml/scap/sc_tailoring/ds_combined1.xml'] from the supplied content
06:57:30,517 INF misc: OSCAP addon: Identified /tmp/openscap_data/usr/share/xml/scap/sc_tailoring/tailoring-xccdf.xml as XCCDF Tailoring
06:57:30,553 INF misc: OSCAP addon: Identified /tmp/openscap_data/usr/share/xml/scap/sc_tailoring/ds_combined1.xml as Source Data Stream
06:57:30,553 ERR misc: Expected a file /tmp/openscap_data to be part of the supplied content, but it was not the case, got only ['/tmp/openscap_data/usr/share/xml/scap/sc_tailoring/tailoring-xccdf.xml', '/tmp/openscap_data/usr/share/xml/scap/sc_tailoring/ds_combined1.xml']
06:57:30,562 INF threading: Thread Done: OSCAPguiWaitForDataFetchThread (140044658378496)
...
Version-Release number of selected component (if applicable):
RHEL-8.8.0-20230114.0
anaconda-33.16.8.6-1.el8.x86_64.rpm
oscap-anaconda-addon-1.2.1-10.el8.noarch.rpm
How reproducible:
always
Steps to Reproduce:
1. Make sure http://rtt1.s390.bos.redhat.com/oaa/sc_tailoring.rpm is available for download. If it is not, the RPM is available in attachment to this bug. Make it available for download.
2. Run manual OS installation and enter the 'Security Profile' spoke.
3. Click 'Change Content' button, fill 'http://rtt1.s390.bos.redhat.com/oaa/sc_tailoring.rpm' in the text box and click 'Fetch'.
Actual results:
GUI shows error 'There was an unexpected problem with the supplied content.'. Tailored OSCAP profile is not used.
Expected results:
No error is shown. Anaconda uses the tailored OSCAP profile.