Unable to access Source RPMs (SRPM) in Satellite 6 Content Views

Solution Verified - Updated

Environment

Red Hat Satellite 6.2

Issue

  • I have synchronized and configured the Source RPMs (SRPM) Red Hat Repository in my Satellite 6, added them to a Content View and published&promoted the C.V.
  • but clients does not get the content
  • Repository is shown to have zero packages
  • There are HTTP 404 error reports. A sample yum repolist output is shown below:
[root@server01 ~]# yum repolist
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-mrg-messaging-3-rpms| 2.3 kB  00:00:00     
https://satserver-rf.usersys.redhat.com/pulp/repos/Beleza/Library/CCV_RHEL7_MRG3/content/dist/rhel/server/7/7Server/x86_64/mrg-m/3/source/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article 

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://satserver-rf.usersys.redhat.com/pulp/repos/Beleza/Library/CCV_RHEL7_MRG3/content/dist/rhel/server/7/7Server/x86_64/mrg-m/3/source/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-7-server-rpms/x86_64         | 2.0 kB  00:00:00     
rhel-7-server-rt-rpms/x86_64      | 2.3 kB  00:00:00     
rhel-7-server-satellite-tools-6.2-rpms/x86_64                  | 2.1 kB  00:00:00     
https://satserver-rf.usersys.redhat.com/pulp/repos/Beleza/Library/CCV_RHEL7_MRG3/content/dist/rhel/server/7/7Server/x86_64/source/SRPMS/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
repo id            repo name                       status
rhel-7-server-mrg-messaging-3-rpms/x86_64        Red Hat Enterprise MRG Messaging 3 for RHEL 7 (RPMs)            196
rhel-7-server-mrg-messaging-3-source-rpms/x86_64 Red Hat Enterprise MRG Messaging 3 for RHEL 7 (Source RPMs)       0
rhel-7-server-rpms/x86_64                        Red Hat Enterprise Linux 7 Server (RPMs)                     16.964
rhel-7-server-rt-rpms/x86_64                     Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs)   226
rhel-7-server-satellite-tools-6.2-rpms/x86_64    Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs)          124
rhel-7-server-source-rpms/x86_64                 Red Hat Enterprise Linux 7 Server (Source RPMs)                   0
repolist: 17.510
Uploading Enabled Reposistories Report
Loaded plugins: product-id
[root@server01 ~]#

Resolution

Red Hat is aware of this issue and is working on a fix tracked in This content is not included.this bugzilla. If you have stumbled upon this issue, please file a support ticket and mention this article to your Support representative.

For more KB articles/solutions related to Red Hat Satellite 6.x Content View Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Content View Issues

Root Cause

Currently, content views dont copy among pulp repositories source RPMs at all, causing the resulting repository is empty (more detailed explanation is described in the underlying bug).

Moreover, due to This content is not included.another bug, such empty repository in a Content View is never published, hence clients get 404 error on accessing the repository metadata already.

SBR
Product(s)
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.