Bug 2093413

Summary: Satellite 6.10 clone is failing with user pulp doesn't exist
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: Satellite CloneAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Ladislav Vasina <lvasina>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, alex.bron, egolov, ehelms, fandrieu, mmccune, osousa, pcreech, sussen
Target Milestone: 6.10.7Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-clone-3.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2054758 Environment:
Last Closed: 2022-07-06 14:22:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Ladislav Vasina 2022-06-20 13:27:32 UTC
VERIFIED

Sat version: 6.10.7
Satellite-clone version: satellite-clone-3.1.0-2.el7sat.noarch

1) Create/Have Satellite 6.10.7 backup
2) Copy backup to the target machine and remove pulp_data.tar to do clone without pulp data

# satellite-clone -y

...

TASK [satellite-clone : include_tasks] ****************************************************************************************************************************************************
Monday 20 June 2022  07:40:36 -0400 (0:02:24.511)       0:10:56.065 *********** 
included: /usr/share/satellite-clone/roles/satellite-clone/tasks/ensure_pulp_data_permissions.yml for sat.example.com

TASK [satellite-clone : Ensure pulp group exists] *****************************************************************************************************************************************
Monday 20 June 2022  07:40:36 -0400 (0:00:00.122)       0:10:56.187 *********** 
changed: [sat.example.com]

TASK [satellite-clone : Ensure pulp user exists] ******************************************************************************************************************************************
Monday 20 June 2022  07:40:37 -0400 (0:00:00.429)       0:10:56.617 *********** 
changed: [sat.example.com]

TASK [satellite-clone : Check /var/lib/pulp ownership] ************************************************************************************************************************************
Monday 20 June 2022  07:40:37 -0400 (0:00:00.470)       0:10:57.087 *********** 
ok: [sat.example.com]

TASK [satellite-clone : Correct ownership of /var/lib/pulp] *******************************************************************************************************************************
Monday 20 June 2022  07:40:37 -0400 (0:00:00.200)       0:10:57.288 *********** 
skipping: [sat.example.com]

...

Comment 6 errata-xmlrpc 2022-07-06 14:22:45 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 (Satellite Maintenance 6.10.7 Async Bug Fix 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-2022:5519