Comments (5)
As it turned out, I had to add 8.9 repos to the corresponding Lifecycle Environment and Content View. That solved my problem.
Thank you @bocekm - you directed me into the right path!
from convert2rhel.
@flaks-cshl, one thing that comes to my mind is that you perhaps synced to the Satellite server the Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8 repo and not the Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.9 repo. There's a subtle but important difference. The RHEL 8 means 8.latest which is as of now 8.9 however when syncing repos to Satellite, the RHEL 8 repo is stored under a different URL than the RHEL 8.9 repo. And convert2rhel expects the repo to be under the URL for 8.9, not just 8.
@bookwar, I've seen the kind of a Satellite setup "mistake" I describe above a couple of times. For a user this must sound like something the tool should be able to take of and accept both Satellite setups. Currently, when the system to be converted is of version 8.9, we pass the same minor release version to all conversion yum calls (--releasever=8.9
) based on this simple mapping https://github.com/oamg/convert2rhel/blob/main/convert2rhel/systeminfo.py#L41. As an improvement, we can introduce a fallback to releasever 8
if the repo for 8.9
is not accessible.
I can see that our docs talk about syncing only RHEL 8.8 or 8.6 repos but 8.9 should be listed there as well. I've make sure the 8.9 is added there.
from convert2rhel.
@bocekm, Thank you for a quick reply.
If I look at available repos on Satellite, I can only see RHEL 8 repos. There is no 8.9 repos except for Kickstart RPM's. However, there is no path for 8 in URL - only for 8.9, if I browse web interface.
Strangely enough if I look at /etc/yum.repos.d/redhat.repo file on the system that was provisioned in Satellite, I see this stanza:
[rhel-8-for-x86_64-baseos-rpms] name = Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) baseurl = https://satellite.NNNN.NNN/pulp/content/CSHL/Batch_1/RHEL_8_Standard/content/dist/rhel8/$releasever/x86_64/baseos/os
which also has 'os' at the end. I can replace $releaseveer with 8.9 and there is only kickstart directory in the path 'os' does not exist. System is somehow happily getting updates. I have no idea how did kicktart got into the path but it seems to be the problem for conver2html program but not for dnf.
RHEL 9 has identical structure and dnf and provisioning also work as expected.
from convert2rhel.
I don't have that broad of a Satellite knowledge. Try going to https://<sat_hostname>/redhat_repositories and try enabling RHEL 8.9 BaseOS and AppStream repos following the screenshot below. If you don't see it there, you may want to open a customer case with Red Hat at https://access.redhat.com/support/cases/.
from convert2rhel.
I found 8.9 repositories, added them and ran the sync job. Unfortunately, the error i had is still there. Looks like the problem is on the satellite side. I will contact RedHat on that.
Thanks!
from convert2rhel.
Related Issues (20)
- Convert failed HOT 2
- MySQL downgrade after conversion, service won't start HOT 4
- convert2rhel migration error HOT 4
- Convert2Rhel Migration from Rocky Error HOT 4
- FYI, converting from Rocky 8, issue with packages that have periods in the name HOT 2
- Support for EL9 based clones to convert to RHEL9 HOT 3
- convert2rhel silently hangs if too many (list too long) third-party packages HOT 2
- Error Message if LIST_THIRD_PARTY_PACKAGES HOT 2
- Convert 2 RHEL offline HOT 1
- centos7.4 ---> rhel7.4 HOT 3
- Disabling repositories fails if there are no repositories available through subscriptions HOT 6
- test issue
- CentOS7.4 update to RHEL7.4? HOT 1
- Feature Request: reduce timeout for the 'Checking internet connectivity' check HOT 1
- `EFI::UNEXPECTED_ERROR` when `blkid -p -s PART_ENTRY_NUMBER` is empty HOT 2
- Exception on Alma/Rocky 8.9 HOT 1
- Version 9.3 not supported yet HOT 2
- Passing environment variables HOT 2
- EFI::BOOTLOADER_ERROR with RAID + UEFI HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convert2rhel.