Bug 2221541

Summary: Satellite 6.11 restore to RHEL8 server missing OpenSCAP reports
Product: Red Hat Satellite Reporter: Satyajit Das <sadas>
Component: Foreman MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.11.5CC: ahumbe, ehelms, rlavi
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Satyajit Das 2023-07-10 01:39:28 UTC
Description of problem:

The satellite server migrated 6.11.z instance from RHEL7 to RHEL8.

Version-Release number of selected component (if applicable):

6.11.z 

How reproducible:

100%

Steps to Reproduce:
1. Restored  Satellite 6.11  RHEL7 full backup on a new server instance of RHEL8
2. The restoration process was completed successfully.
3. post-restoration, when tried to access the old compliance report, it fails with 

Actual results:

==> /var/log/foreman-proxy/proxy.log <==
2023-06-29T16:01:03 bdd51152 [I] Started GET /compliance//arf/9058/df39df72-b3e1-424f-b259-d3e4939cea09/1615344301/5eedc28794e6483747cb9ac7095d895eef5967f74d73382cc6d25eef19a6b903/html
2023-06-29T16:01:03 bdd51152 [E] Could not find requested file, Can't find path /var/lib/foreman-proxy/openscap/reports/arf/df39df72-b3e1-424f-b259-d3e4939cea09/9058/1615344301/5eedc28794e6483747cb9ac7095d895eef5967f74d73382cc6d25eef19a6b903



Looking at the restored Satellite server on RHEL8 I can see /var/lib/foreman-proxy/openscap has had no files restored. The original Satellite server on RHEL7 has the compliance reports in /var/lib/foreman-proxy/openscap.



Expected results:

Restore should report arf reports.


Additional info: