RHEL 8 - Developer Subscription Repos

Latest response

Greetings

I have a RedHat Developers Subscription that appears to be registered and attached to my RHEL 8 system. However, I have absolutely no idea how to either enable the developer repositories, nor if I've even attached the subscription correctly. It's not obvious from the documentation what the next steps are.

My current symptom is that if I do any action with either yum or dnf, all I get in response is Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo. This also happens for BaseOS as well. I would think that implies that the subscription likely isn't attached correctly, but I'm unsure. Subscription Manager claims that everything is kosher, but it doesn't seem like it.

Responses

Hi Gregory,

Un-register the system :

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean

Re-register the system :

sudo subscription-manager register
sudo subscription-manager refresh

Search for the Pool ID :

sudo subscription-manager list --available

Attach to subscription :

sudo subscription-manager attach --pool=<Pool-ID>

Cleanup dnf and cache :

sudo dnf clean all
sudo rm -r /var/cache/dnf

Update the resources :

sudo dnf upgrade

This procedure in most cases solves the problem. :)

Regards,
Christian

No dice on this. While I'm sure this has corrected the subscription targeting issue I had, I'm still experiencing the same problem with dnf.

Here are the contents of my dnf.log file.

2019-05-08T12:09:14Z INFO --- logging initialized --- 2019-05-08T12:09:14Z DDEBUG timer: config: 4 ms 2019-05-08T12:09:15Z DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile 2019-05-08T12:09:15Z INFO Updating Subscription Management repositories. 2019-05-08T12:09:16Z DEBUG DNF version: 4.0.9 2019-05-08T12:09:16Z DDEBUG Command: dnf upgrade 2019-05-08T12:09:16Z DDEBUG Installroot: / 2019-05-08T12:09:16Z DDEBUG Releasever: 8 2019-05-08T12:09:16Z DEBUG cachedir: /var/cache/dnf 2019-05-08T12:09:16Z DDEBUG Base command: upgrade 2019-05-08T12:09:16Z DDEBUG Extra commands: ['upgrade'] 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 1 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 1 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = releasever in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: ui_repoid_vars = basearch in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:16Z DEBUG Unknown configuration option: enable_metadata = 0 in /etc/yum.repos.d/redhat.repo 2019-05-08T12:09:17Z DEBUG repo: downloading from remote: rhel-8-for-x86_64-appstream-rpms 2019-05-08T12:09:18Z DEBUG Cannot download 'https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried. 2019-05-08T12:09:18Z DEBUG repo: downloading from remote: rhel-8-for-x86_64-baseos-rpms 2019-05-08T12:09:18Z DEBUG Cannot download 'https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried. 2019-05-08T12:09:18Z WARNING Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo. 2019-05-08T12:09:18Z WARNING Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo. 2019-05-08T12:09:18Z DEBUG No module defaults found 2019-05-08T12:09:18Z DDEBUG timer: sack setup: 1597 ms 2019-05-08T12:09:18Z DEBUG --> Starting dependency resolution 2019-05-08T12:09:18Z DEBUG --> Finished dependency resolution 2019-05-08T12:09:18Z DDEBUG timer: depsolve: 21 ms 2019-05-08T12:09:18Z INFO Dependencies resolved. 2019-05-08T12:09:18Z INFO Nothing to do. 2019-05-08T12:09:18Z INFO Complete! 2019-05-08T12:09:18Z DDEBUG Cleaning up.

Unsure if this is related, but I'm also experiencing horrific issues with Firefox where there are maybe two websites with HTTPS that I can view. Firefox is always returning an error of SEC_ERROR_LIBRARY_FAILURE. Is there potentially something wrong with the SSL library?

No idea, Gregory ... eventually something in your network configuration is not set up correctly. :)

Regards,
Christian

Thanks for the help Christian. I was eventually able to determine the source of my issue, although it's still not obvious what about it precisely was causing my problems.

During the installation process, I had selected a Security Profile to be applied to the system. I'm still trying to determine which one it was, but reinstalling without any Security Profile selected seemed to fix the issue. Once I find any other information on this, I'll post it back to this post in case anyone else is experiencing the same issue.

Hey Gregory, that was the root cause indeed, leave it as it is : "no profile selected" !
Applying a dedicated security profile hardens the system even more as it already is.
Starting over from scratch, without selecting a profile, was the best you could do. :)

Regards,
Christian

I'm having the exact same issue. I suspected it might be a security profile concern, but I refuse to believe this wasn't tested by RH QA prior to release.

There's got to be a fix for this that doesn't involve reinstalling without a SCAP profile selected.

EDIT: Re-installed w/o a security profile and it works immediately. Filled a BZ report at https://bugzilla.redhat.com/show_bug.cgi?id=1708948

It happens with the OSPP security profile indeed. The PCI one seems to work fine.

Best regards, Chris.

A workaround is to temporarily disable FIPS compliance if you're using the OSPP profile, download the updates, then re-enable. But be careful not to lock yourself out during it.

https://bugzilla.redhat.com/show_bug.cgi?id=1708948#c7

I hit the same issue. I didn't specify a security profile, but I did pass fips=1 to the installer kernel cmdline.