Bug 2009630
Summary: | In Satellite upgrade, the package upgrade section failed to resolve the python2-solv package dependency | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Devendra Singh <desingh> |
Component: | Packaging | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.0 | CC: | ahumbe, egolov, mmccune, pcreech, smallamp, zhunting |
Target Milestone: | 6.10.0 | Keywords: | Regression, Triaged, Upgrades |
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-11-16 14:13:51 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-10-01 05:43:07 UTC
The problem is that 6.10 repos don't include python2-solv and createrepo_c packages (but libsolv, and createrepo_c-libs), as those are not needed for 6.10/Pulp3 operations. However, when upgrading from 6.9, users do have python2-solv and createrepo_c installed as those were needed for Pulp2, and the complete Pulp2 removal happens *after* the full upgrade to 6.10. This wasn't a problem before, where we had the same versions of those packages in 6.9 and 6.10, but now that we upgraded them in 6.10… The correct solution here would be to add python2-solv and createrepo_c (and whatever else might be missing) to the comps of 6.10, so that those packages show up in the compose, even if nothing depends on them. Oh, and if anybody needs a workaround in the meantime: you can install http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/libsolv/0.7.20/1.el7pc/x86_64/python2-solv-0.7.20-1.el7pc.x86_64.rpm and http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/createrepo_c/0.17.6/0.1.el7pc/x86_64/createrepo_c-0.17.6-0.1.el7pc.x86_64.rpm the moment before you call foreman-maintain upgrade, and it should work you may also need: http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/createrepo_c/0.17.6/0.1.el7pc/x86_64/createrepo_c-libs-0.17.6-0.1.el7pc.x86_64.rpm VERIFIED.
@Satellite 6.10.0 Snap23
by the following manual steps:
# satellite-maintain upgrade run --target-version 6.10 -w repositories-validate,repositories-setup,content-switchover -y
-----------------
/var/log/foreman-maintain/
D, [2021-10-17 12:57:49-0400 #81692] DEBUG -- : Running command yum -y --disableplugin=foreman-protector update with stdin nil
D, [2021-10-17 13:04:16-0400 #81692] DEBUG -- : output of the command:
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
...
---> Package createrepo_c.x86_64 0:0.17.1-1.el7pc will be updated
---> Package createrepo_c.x86_64 0:0.17.6-0.1.el7pc will be an update
---> Package createrepo_c-libs.x86_64 0:0.17.1-1.el7pc will be updated
---> Package createrepo_c-libs.x86_64 0:0.17.6-0.1.el7pc will be an update
...
---> Package libsolv.x86_64 0:0.7.17-1.el7pc will be updated
---> Package libsolv.x86_64 0:0.7.20-1.el7pc will be an update
...
---> Package python2-solv.x86_64 0:0.7.17-1.el7pc will be updated
---> Package python2-solv.x86_64 0:0.7.20-1.el7pc will be an update
...
---> Package python3-createrepo_c.x86_64 0:0.17.1-1.el7pc will be updated
---> Package python3-createrepo_c.x86_64 0:0.17.6-0.1.el7pc will be an update
...
Complete!
I, [2021-10-17 13:04:16-0400 #81692] INFO -- : --- Execution step 'Update package(s) ' finished ---
>>> there is no longer dependency issue for python2-solv package during Satellite upgrade
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 (Moderate: Satellite 6.10 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/RHSA-2021:4702 |