-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RHELC-1246] Fix failing subscription-manager installation on EL8 #991
Conversation
Yumdownloader was downloading two different versions of the subscription-manager-rhsm-certificates package and convert2rhel failed when it wanted to install both at the same time. subscription-manager-rhsm-certificates-1.28.36-3.el8_8.x86_64 subscription-manager-rhsm-certificates-20220623-1.el8.noarch Pino Toscano from the subscription-manager team told us that the version 20220623 is the latest and the one we should be installing. Since the two versions have different architecture, this quick solution is making sure that only the noarch one is downloaded and installed.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #991 +/- ##
=======================================
Coverage 94.21% 94.21%
=======================================
Files 47 47
Lines 4377 4377
Branches 775 775
=======================================
Hits 4124 4124
Misses 177 177
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/packit test --labels sanity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test fails unrelated, will be fixed in #988
The subscription-manager package is being correctly installed.
Could be merged.
Yumdownloader was downloading two different versions of the subscription-manager-rhsm-certificates package and convert2rhel failed when it wanted to install both at the same time. subscription-manager-rhsm-certificates-1.28.36-3.el8_8.x86_64 subscription-manager-rhsm-certificates-20220623-1.el8.noarch Pino Toscano from the subscription-manager team told us that the version 20220623 is the latest and the one we should be installing. Since the two versions have different architecture, this quick solution is making sure that only the noarch one is downloaded and installed.
The oamg#991 was dealing with a convert2rhel failure stemming from two different architectures of the subscription-manager-rhsm-certificates package being available in UBI repos. That fix however caused convert2rhel failures on older system minor versions where only x86_64 arch was available. In the meantime Pino Toscano asked to have the UBI repos fixed in a way that there is now just one architecture of the package. With that we don't need to hardcode a specific arch in convert2rhel.
The #991 was dealing with a convert2rhel failure stemming from two different architectures of the subscription-manager-rhsm-certificates package being available in UBI repos. That fix however caused convert2rhel failures on older system minor versions where only x86_64 arch was available. In the meantime Pino Toscano asked to have the UBI repos fixed in a way that there is now just one architecture of the package. With that we don't need to hardcode a specific arch in convert2rhel.
Yumdownloader was downloading two different versions of the subscription-manager-rhsm-certificates package and convert2rhel failed when it wanted to install both at the same time.
subscription-manager-rhsm-certificates-1.28.36-3.el8_8.x86_64 subscription-manager-rhsm-certificates-20220623-1.el8.noarch
Pino Toscano from the subscription-manager team told us that the version 20220623 is the latest and the one we should be installing.
Since the two versions have different architecture, this quick solution is making sure that only the noarch one is downloaded and installed.
The same applies to conversions to RHEL 9. We were downloading incorrectly the x86_64 version of the package which is not the latest.
Jira Issues: RHELC-1246
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant