Description of problem: After changing the Content View for a RHEL 6.5 Content Host in Satellite 6.0.3 all attempts to access repomd.xml fail with [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Version-Release number of selected component (if applicable): Satellite 6.0.3, RHEL 6.5 Content Host Steps to Reproduce: 1. Create or register RHEL 6.5 Content Host in Satellite-6 2. Create new Content View for RHEL 6.5 Operating System 3. In "Content Hosts" select above created RHEL 6.5 host, edit Content View and select above created view 4. On RHEL 6.5 host perform "subscription-manager refresh" 5. On RHEL 6.5 host perform "yum repolist" Actual results: yum gives error message: This system is receiving updates from Red Hat Subscription Management. https://satellite6.example.com/pulp/repos/MyOrg/Library/NewView/content/dist/rhel/server/6/6Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Expected results: yum should load repomd.xml from all subscribed channels Additional info: For RHEL 7 hosts changing of Content View works.
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.
What's the status of the subscription inside the UI? Is it green or red? After a Content View change, you probably need to re-assign a subscription either by clicking 'Run auto attach' on the Subscription tab or doing it manually. If you still have the issue after assinging a subscription and running 'subscription-manager refresh': Can you run on the client: subscription-manager status subscription-manager list subscription-manager repos And attach: From the client: - /etc/yum.repos.d/redhat.repo - output of: grep subscription-manager /var/log/messages From Satellite: - The tarball from running `foreman-debug`
Created attachment 923832 [details] output of: grep subscription-manager /var/log/messages
Created attachment 923833 [details] /etc/yum.repos.d/redhat.repo from RHEL 6.5 client
Created attachment 923834 [details] The tarball from running `foreman-debug` on Sat6 server
RHEL 6.5 host is in auto-attach mode, subscription status is green before issuing the refresh. [root@rhel6-test01 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current [root@rhel6-test01 ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 6.5 Arch: x86_64 Status: Subscribed Status Details: Starts: 02/13/14 Ends: 02/13/15 [root@rhel6-test01 ~]# subscription-manager repos +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-6-server-rpms Repo Name: Red Hat Enterprise Linux 6 Server (RPMs) Repo URL: https://satellite6.lunetix.de/pulp/repos/LunetIX/Library/RHEL6_L_G/content/dist/rhel/server/6/$releasever/$basearch/ os Enabled: 1 Repo ID: rhel-6-server-extras-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Extras (RPMs) Repo URL: https://satellite6.lunetix.de/pulp/repos/LunetIX/Library/RHEL6_L_G/content/dist/rhel/server/6/6Server/$basearch/extr as/os Enabled: 0 Repo ID: rhel-6-server-optional-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Optional (RPMs) Repo URL: https://satellite6.lunetix.de/pulp/repos/LunetIX/Library/RHEL6_L_G/content/dist/rhel/server/6/$releasever/$basearch/ optional/os Enabled: 1 Repo ID: rhel-6-server-supplementary-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Supplementary (RPMs) Repo URL: https://satellite6.lunetix.de/pulp/repos/LunetIX/Library/RHEL6_L_G/content/dist/rhel/server/6/$releasever/$basearch/ supplementary/os Enabled: 0 Repo ID: rhel-6-server-rh-common-rpms Repo Name: Red Hat Enterprise Linux 6 Server - RH Common (RPMs) Repo URL: https://satellite6.lunetix.de/pulp/repos/LunetIX/Library/RHEL6_L_G/content/dist/rhel/server/6/$releasever/$basearch/ rh-common/os Enabled: 0
Created attachment 923898 [details] Foreman and httpd logs during CV change, subscription-manager refresh and yum list
*** This bug has been marked as a duplicate of bug 1112833 ***