Code Monkey home page Code Monkey logo

Comments (5)

flaks-cshl avatar flaks-cshl commented on June 16, 2024 1

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.

bocekm avatar bocekm commented on June 16, 2024

@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.

flaks-cshl avatar flaks-cshl commented on June 16, 2024

@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.

bocekm avatar bocekm commented on June 16, 2024

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/.
Screenshot from 2024-04-03 22-12-12

from convert2rhel.

lflaks avatar lflaks commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.