Bug 2231191

Summary: RFE: Using satellite-clone to skip LEAPP as process on Satellite 6.11@RHEL7 to Satellite6.11@RHEL8
Product: Red Hat Satellite Reporter: Ricardo Santamaria <risantam>
Component: Satellite CloneAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: rlavi
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
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 Ricardo Santamaria 2023-08-11 00:41:07 UTC
Description of problem:
Can 'satellite-clone' command be supported to skip  OS LEAPP upgrade in Satellite 6.11

Version-Release number of selected component (if applicable):
Satellite 6.11 on RHEL 7.9 
Fresh RHEL 8

How reproducible:

Following steps shown to be successful: 

Steps to Reproduce:
1. On Satellite 6.11 on RHEL 7 create backup:
  ]# satellite-maintain backup offline --skip-pulp-content /var/backup 

2. On fresh build RHEL 8 make /backup to move the above back to
  ]# mkdir /backup
  ]# ls /backup 
  config_files.tar.gz  metadata.yml  pgsql_data.tar.gz

3. On fresh RHEL8 register  to Customer Portal and enable repositories:
   ]# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms \
--enable=rhel-8-for-x86_64-appstream-rpms \
--enable=satellite-6.11-for-rhel-8-x86_64-rpms \
--enable=satellite-maintenance-6.11-for-rhel-8-x86_64-rpms
  ]# dnf module enable satellite:el8

4. Install satellite-clone:
  ]# dnf -y install satellite-lcone

5. Run satellite-clone

End result is the RH7 Satellite 6.11 database is restored on the RHEL8 server which has as part of running satellite-clone playbook effectively installed fresh Satellite 6.11@RHEL8 and restored the database on. 

Actual results:
Have used satellite-clone to restore database of Satellite 6.11 on RHEL7 to a brand RHEL 8 where Satellite is installed and the backed up database is restored 

Expected results:


Additional info: