Description of problem: # subscription-manager unregister # subscription-manager clean # subscription-manager register --org="MyOrg" Username: admin Password: The system has been registered with ID: 475ef13b-73a8-4a89-8163-85c17466f68a Now add subscriptions via Content Hosts on Satellite master. Enable repos: # subscription-manager repos --enable rhel-server-6-satellite-6-beta-rpms Repo rhel-server-6-satellite-6-beta-rpms is enabled for this system. # subscription-manager repos --enable rhel-server-rhscl-6-rpms Repo rhel-server-rhscl-6-rpms is enabled for this system. # yum repolist This system is receiving updates from Red Hat Subscription Management. This system is not registered with RHN Classic or Red Hat Satellite. You can use rhn_register to register. Red Hat Satellite or RHN Classic support will be disabled. https://satellite/pulp/repos/MyOrg/GPS_Unix/GPS_Unix_Content/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. rhel-server-6-satellite-6-beta-rpms | 2.5 kB 00:00 rhel-server-6-satellite-6-beta-rpms/primary | 93 kB 00:00 rhel-server-6-satellite-6-beta-rpms 334/334 https://satellite/pulp/repos/MyOrg/GPS_Unix/GPS_Unix_Content/content/dist/rhel/server/6/6Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. repo id repo name status rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 12733 rhel-server-6-satellite-6-beta-rpms Red Hat Satellite 6.0 Beta (for RHEL 6 Server) (RPMs) 334 rhel-server-rhscl-6-rpms Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server 0 repolist: 13067 This is incorrect: https://satellite/pulp/repos/MyOrg/GPS_Unix/GPS_Unix_Content/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 The actual location is repos/MyOrg/GPS_Unix/GPS_Unix_Content/content/dist/rhel/server/6.5/x86_64/os/repodata/repomd.xml Changing the version manually in Content Hosts -> Detail -> Release Version to 6.5 resolves this but this should be auto detected correctly. How reproducible: Repeatable following the steps above every time.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
This is caused by your Content Host not having the right "Release Version" In the Content Host details page there is an option to set the "Release Version" as seen in the attachment I uploaded to this bug. Set that to 6.5 and yum should work. If that is not the case feel free to re-open the bug.
Created attachment 926173 [details] release version screenshot