Bug 1972310
| Summary: | switchover isn't run on 6.9 -> 6.10 upgrade | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | Satellite Maintain | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED ERRATA | QA Contact: | Devendra Singh <desingh> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | apatel, aupadhye, gtalreja, jturel, kgaikwad, osousa |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_maintain-0.8.7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 13:48:05 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
Justin Sherrill
2021-06-15 15:47:12 UTC
Created redmine issue https://projects.theforeman.org/issues/32818 from this bug Upstream bug assigned to jsherril Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32818 has been resolved. Verified on 6.10.0 Snap12
Verification points:
- Prepared the 6.9 setups for the upgrade.
- Ran the pulp migration and it was completed successfully.
- Ran the upgrade from 6.9.z to 6.10 Snap 12 and it was completed successfully.
foreman-maintain upgrade run --whitelist="disk-performance" --target-version 6.10 -y
Checking for new version of satellite-maintain...
.................
.................
Running Procedures before migrating to Satellite 6.10
.......................
.......................
Switch support for certain content from Pulp 2 to Pulp 3:
Performing final content migration before switching content
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
Checking for valid Katello configuraton.
Starting task.
2021-08-09 12:32:56 -0400: Content migration starting.
2021-08-09 12:33:06 -0400: Initial Migration steps complete.
2021-08-09 12:33:16 -0400: Initial Migration steps complete.
2021-08-09 12:33:26 -0400: Initial Migration steps complete.
2021-08-09 12:33:36 -0400: Initial Migration steps complete.
2021-08-09 12:33:46 -0400: Initial Migration steps complete.
2021-08-09 12:33:56 -0400: Initial Migration steps complete.
2021-08-09 12:34:06 -0400: Initial Migration steps complete.
2021-08-09 12:34:16 -0400: Initial Migration steps complete.
2021-08-09 12:34:26 -0400: Initial Migration steps complete.
2021-08-09 12:34:36 -0400: Initial Migration steps complete.
2021-08-09 12:34:46 -0400: Pre-migrating Pulp 2 erratum content (general info) 0/1
2021-08-09 12:34:56 -0400: Importing migrated content type docker_tag: 44/44
2021-08-09 12:35:06 -0400: Importing migrated yum repositories: 21/121
2021-08-09 12:35:16 -0400: Importing migrated content type yum_repo_metadata_file: 17/17
Content Migration completed successfully
Performing a check to verify everything that is needed has been migrated
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
Switching specified content over to pulp 3
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
Checking for valid Katello configuraton.
Content Switchover completed successfully
Re-running the installer to switch specified content over to pulp3 [32m[1m[OK][0m
--------------------------------------------------------------------------------
Setup repositories:
.........................
.........................
.........................
\ Configuring repositories for 6.10 [32m[1m[OK][0m
--------------------------------------------------------------------------------
Unlock packages: [32m[1m[OK][0m
--------------------------------------------------------------------------------
Update package(s) : [32m[1m[OK][0m
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade: [32m[1m[OK][0m
--------------------------------------------------------------------------------
Execute upgrade:run rake task: [32m[1m[OK][0m
--------------------------------------------------------------------------------
Running Procedures after migrating to Satellite 6.10
================================================================================
Refresh detected features: [32m[1m[OK][0m
--------------------------------------------------------------------------------
Start applicable services:
....................................
....................................
Starting the following service(s):
....................................
| Checking for presence of non-original assets... [32m[1m[OK][0m
--------------------------------------------------------------------------------
Print pulp 2 removal instructions:
======================================================
Migration of content from Pulp 2 to Pulp3 is complete
After verifying accessibility of content from clients,
it is strongly recommend to run "foreman-maintain content remove-pulp2"
This will remove Pulp 2, MongoDB, and all pulp2 content in /var/lib/pulp/content/
====================================================== [32m[1m[OK][0m
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Upgrade finished.
- Checked the fixed in-version
# rpm -qa|grep "rubygem-foreman_maint"
rubygem-foreman_maintain-0.8.10-1.el7sat.noarch
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 6.10 Satellite Maintenance Release), 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-2021:4697 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |