Bug 1995694

Summary: Upgrade re-run failed in the content migration stage.
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: jsherril
Target Milestone: Unspecified   
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: 2021-08-19 18:35:34 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:

Description Devendra Singh 2021-08-19 15:48:08 UTC
Description of problem: Upgrade re-run failed in the content migration stage.


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

How reproducible:
always

Steps to Reproduce:
1. Prepare the 6.9.z setup using the upgrade template.
2. Run the pre-migration steps before running the upgrade for 6.10 snap14.
3. Pulp migration completed successfully.
4  Run the upgrade, but it failed in the yum update with a package dependency issue.
5- Applied the workaround.
# yum remove -y rubygem-passenger
6- Rerun the upgrade but it failed in the content migration stage.

--------------------------------------------------------------------------------
Switch support for certain content from Pulp 2 to Pulp 3: 
Performing final content migration before switching content           [FAIL]
Failed executing foreman-rake katello:pulp3_migration, exit status 1:
 rake aborted!
The system appears to already be using pulp3 with all content migrated.
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.33/lib/katello/tasks/check_config.rake:15:in `block (2 levels) in <top (required)>'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => katello:pulp3_migration => katello:check_config
(See full trace by running task with --trace)
Checking for valid Katello configuraton.
--------------------------------------------------------------------------------
Scenario [Migration scripts to Satellite 6.10] failed.

The following steps ended up in failing state:

  [content-switchover]
  [packages-update]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="content-switchover,packages-update"


Actual results:
Upgrade failed in the content migration stage

Expected results:
Upgrade should be completed successfully.

Additional info:

Comment 1 Justin Sherrill 2021-08-19 18:35:34 UTC
This is a 6.9 issue and

*** This bug has been marked as a duplicate of bug 1993844 ***