Code Monkey home page Code Monkey logo

Comments (6)

bocekm avatar bocekm commented on September 27, 2024

This might be related to https://issues.redhat.com/browse/RHELC-697.

@neutralalice, I suppose you've passed Red Hat account credentials to convert2rhel, either through /etc/convert2rhel.ini or through command line options.

Does the Red Hat account have at least one subscription available? You can verify that under https://access.redhat.com/management/subscriptions.
And does your account have Simple Content Access enabled https://access.redhat.com/articles/simple-content-access? We recommend having that enabled.

from convert2rhel.

neutralalice avatar neutralalice commented on September 27, 2024

Yes, I passed in an activation key and org through the ini. I don't have access to check that page apparently but I bet I know what has happened now thanks to your response. Our licensing folk seem to have neglected to enable rhel7 repositories(but they enabled rhel 8 and rhel 9 baseos/appstream; likely an oversight since all of our machines are doing the centos7->rhel7->8->9 migration.

image

I sent them an email to check if this is the case, but based off of what I can see it probably is.

from convert2rhel.

neutralalice avatar neutralalice commented on September 27, 2024

Well, they gave me access to see that page and it looks like there 25+ subscriptions. It's not clear to me if SCA is enabled since I don't see any tickboxes, but I assume it's not because I get "System Purpose Status: Matched" on some of the RHEL9 VM's that are registered if I check the status.

Haven't found out what repositories need to be added otherwise

from convert2rhel.

bocekm avatar bocekm commented on September 27, 2024

Regarding the SCA, you don't see this UI switch, is that so?
Screenshot from 2024-01-18 20-06-21

With SCA enabled you wouldn't need to worry about what subscriptions are associated with the activation key you've used. There might be 0 subscriptions associated with the key and that would not be a problem - you would still get access to the RHEL repositories after registering a system with the key. The only requirement with SCA enabled would be to have at least one RHEL subscription purchased by the Red Hat account - which is satisfied since you've mentioned there's 25+ subscriptions under the account.

Let's suppose you have SCA disabled. For the conversion to work, your activation key needs to have a RHEL subscription associated with the activation key. To see what subscriptions are associated with the activation key, go to https://access.redhat.com/management/activation_keys.

from convert2rhel.

neutralalice avatar neutralalice commented on September 27, 2024

That's correct - unable to see the tickbox there. I can see it on my personal non-corporate login, so this will probably just be a continual back and forth with the licensing folk at work to give me the right permissions to see things. Unable to also view the activation keys page.

I am making an assumption here, but I imagine I can try to find the information with subscription-manager. Since it's likely I'll be playing cat and mouse to get permissions. This might be better as an internal support ticket since it may never have been code related(perhaps it's just come down to wording of the initial post error). But happy to continue here anyway.

On a RHEL 9 registered VM using the same activation key as below

+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux for Virtual Datacenters, Standard
Provides:            Red Hat Beta
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat CodeReady Linux Builder for x86_64
                     Red Hat Enterprise Linux Atomic Host Beta
                     Oracle Java (for RHEL Server)
                     Red Hat Developer Tools (for RHEL Server)
                     Red Hat Developer Tools Beta (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Software Collections (for RHEL Server)
                     Red Hat Enterprise Linux for x86_64
                     Red Hat Software Collections Beta (for RHEL Server)
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux Server
...
Subscription Type:   Standard

On the Centos7 machine to be migrated using the same key as above

[root@migrationtest ~]# sudo subscription-manager list --consumed
You are attempting to use a locale that is not installed.
No consumed subscription pools were found.


[root@migrationtest ~]# sudo subscription-manager status
You are attempting to use a locale that is not installed.
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current

System Purpose Status: Mismatched
- The service level preference "Standard" is not provided by a currently consumed subscription.

from convert2rhel.

neutralalice avatar neutralalice commented on September 27, 2024

I've now got SCA enabled from the licensing folks, and the tool seems to be running - so agree with you that this is a subscription association issue.

I do still think that the wording is a bit nebulous and doesn't really characterize what the issue can boil down to. But I suppose that could be clarified by possible remediations being listed.

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.