Bug 2341771
Summary: | crb enable tries to enable ubi repo with subscription manager but it will not have it | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Ulrik Haugen <ulrik.haugen> |
Component: | epel-release | Assignee: | Troy Dawson <tdawson> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel9 | CC: | carl, kevin, maxwell, smooge, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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
Ulrik Haugen
2025-01-23 16:24:23 UTC
Thank you for the detailed info. There is another complication to this. In your example, it looks like you are running this ubi container in a non-RHEL environment. Thus you needed to "subscription-manager register --org=redacted --activationkey=redacted" But if you run the container on a registered RHEL system you get the following. # subscription-manager register --org=redacted --activationkey=redacted subscription-manager is operating in container mode. Use your host system to manage subscriptions. # subscription-manager repos --list subscription-manager is operating in container mode. Use your host system to manage subscriptions. That doesn't mean we can't try to fix it, just that we need to accommodate both ways of running a UBI container. Of course, i probably should have realised subscription manager would not be appeased that easily. The tests i did for this bug report were on a Debian system so everything is as you say, in the environment i hope to put this to use the host used to be an el system but not registered so subscription manager said the same thing until i: rm -f /etc/rhsm-host rm -f /etc/pki/entitlement-host Not that that would be of any use for crb. The admin for the container hosts tells me that they are registered these days so i will try to get around to some further testing... |