Bug 2061571
| Summary: | Upgrade path 6.9 -> 6.10 -> 7.0 snap 12 broken on yum dependency on python3-pulp-2to3-migration | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
| Component: | Documentation | Assignee: | SAT-DOCS <sat-bz-docs-list> |
| Status: | CLOSED DUPLICATE | QA Contact: | SAT-DOCS <sat-bz-docs-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.11.0 | CC: | aupadhye, egolov, mdolezel |
| 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: | 2022-03-09 09:48:18 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: | |||
Removing the two packages (python3-pulp-2to3-migration and python2-solv) together with their dependencies (pulp-rpm-plugins and python-pulp-integrity) is a workaround. OK, the cause is I did not run foreman-maintain pulp2-remove after the upgrade to 6.10. Changing the BZ to Documentation. This step ^^ should be mentioned as a Prerequisite of Sat7.0 upgrade: "if you are upgrading Satellite that was upgraded from 6.9, run .." This is documented in the 6.9 to 6.10 upgrade docs: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html/upgrading_and_updating_red_hat_satellite/upgrading_red_hat_satellite If you have migrated content from Pulp 2 to Pulp 3, remove all Pulp 2 content. # satellite-maintain content remove-pulp2 You could argue that the 6.10 to 7.0 upgrade could warn you about not having done this step (and I'd agree), but it's unrelated to 7.0 EL7toEL8 upgrades. Pavel, did you use foreman-maintain to upgrade to 7.0? Because it should have ran the pulp2 removal for you: https://github.com/theforeman/foreman_maintain/blob/master/definitions/scenarios/upgrade_to_satellite_7_0.rb#L44 (In reply to Evgeni Golov from comment #4) > Pavel, did you use foreman-maintain to upgrade to 7.0? > Yes I did: /var/log/foreman-maintain/foreman-maintain.log-20220308:I, [2022-03-07 22:21:47+0100 #23797] INFO -- : Running foreman-maintain command with arguments [["upgrade", "run", "--target-version", "7.0", "-y"]] > Because it should have ran the pulp2 removal for you: > https://github.com/theforeman/foreman_maintain/blob/master/definitions/ > scenarios/upgrade_to_satellite_7_0.rb#L44 That is not present in rubygem-foreman_maintain-1.0.3-1.el8sat.noarch : /usr/share/gems/gems/foreman_maintain-1.0.3/definitions/scenarios/upgrade_to_satellite_7_0.rb : def compose add_steps(find_procedures(:pre_migrations)) add_step(Procedures::Service::Stop.new) end end So we need to backport https://github.com/theforeman/foreman_maintain/pull/589 to Sat7.0 GA, I guess? Perfect, thanks for investigation! @aupadhye I guess we should convert this to a maintain BZ asking for the backport of https://github.com/theforeman/foreman_maintain/pull/589 to 7.0? *** This bug has been marked as a duplicate of bug 2054182 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |
Description of problem: Trying to upgrade a 6.10 (that was upgraded from 6.9) to 7.0 testathlon / snap 12, "satellite-maintain upgrade run --target-version 7.0" fails on yum update dependency error: Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms) Requires: python3-pulpcore >= 3.13 Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms) python3-pulpcore = 3.14.9-1.el7pc Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.3-1.el7pc.noarch (Sat6-CI_Satellite_7_0_Composes_Satellite_7_0_RHEL7) Not found Error: Package: python2-solv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms) Requires: libsolv(x86-64) = 0.7.20-1.el7pc Removing: libsolv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms) libsolv(x86-64) = 0.7.20-1.el7pc Updated By: libsolv-0.7.20-4.el7pc.x86_64 (Sat6-CI_Satellite_7_0_Composes_Satellite_7_0_RHEL7) libsolv(x86-64) = 0.7.20-4.el7pc Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.11-1.el7 Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.20-5.el7 Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.26-1.el7 Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.26-2.el7 Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.34-2.el7 Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms) libsolv(x86-64) = 0.6.34-4.el7 Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms) Requires: python3-pulpcore < 3.15 Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms) python3-pulpcore = 3.14.9-1.el7pc Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.3-1.el7pc.noarch (Sat6-CI_Satellite_7_0_Composes_Satellite_7_0_RHEL7) Not found Version-Release number of selected component (if applicable): 7.0 snap 12 How reproducible: 100% Steps to Reproduce: 1. Have 6.9 installed (originally I started with Sat6.7 but I think 6.9 is sufficient) 2. Upgrade it to 6.10. 3. Try to upgrade to 7.0 Actual results: Above dependency error. Expected results: No error. Additional info: