Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira ( If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2010138 - Satellite doesn't forward the "If-Modified-Since" header for /accessible_content endpoint to Candlepin
Summary: Satellite doesn't forward the "If-Modified-Since" header for /accessible_cont...
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Cole Higgins
Depends On:
TreeView+ depends on / blocked
Reported: 2021-10-04 01:49 UTC by Hao Chang Yu
Modified: 2023-01-20 10:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2027367 2030683 (view as bug list)
Last Closed: 2022-07-05 14:30:00 UTC
Target Upstream Version:

Attachments (Terms of Use)
tfm-rubygem-katello- (13.00 MB, application/x-rpm)
2021-10-25 18:04 UTC, Mike McCune
no flags Details

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33618 0 Normal Closed Satellite doesn't forward the "If-Modified-Since" header for /accessible_content endpoint to Candlepin 2021-10-20 19:39:34 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:30:14 UTC

Description Hao Chang Yu 2021-10-04 01:49:51 UTC
Description of problem:
Subscription manager will send the following request to the Candlepin. This request has a "If-Modified-Since" header which is used to query if any certificate has been updated since the specified time. If no certificate has been updated, Candlepin will respond with 304 Not Modified status and empty data.

Satellite doesn't forward the header to the Candlepin causing Candlepin to return the certificate every time.
xx.xx.xx.xx - - [01/Oct/2021:17:07:39 +1000] "GET /rhsm/consumers/82b2ddaa-70ae-4ca8-9576-d8f31750caba/accessible_content HTTP/1.1" 200 6606 "-" "RHSM/1.0 (cmd=yum)"

This is causing subscription-manager to think that content access certificate has been updated on the server and then it will performs certificate and repos update locally. Because of this, subscription-manager sends a few redundant '/content-overrides' and '/release' calls to the Satellite.

Steps to Reproduce:
1. Register client to the Satellite with SCA enabled
2. Tail the foreman ssl access log

tail -f /var/log/httpd/foreman-ssl_access_ssl.log | grep "/rhsm"

3. Run yum repolist multiple times

Actual results:
Notice that '/accessible_content' api always return 200 status

Expected results:
'/accessible_content' api should return 304 Not Modified status

Comment 5 Jonathon Turel 2021-10-20 19:39:33 UTC
Connecting redmine issue from this bug

Comment 6 Mike McCune 2021-10-25 18:04:17 UTC
Created attachment 1836950 [details]

Comment 7 Mike McCune 2021-10-25 18:05:32 UTC
*** Satellite 6.8.6 Hotfix Available ***

1) Download tfm-rubygem-katello- from this bugzilla to your Satellite

2) stop services:

satellite-maintain service stop

3) Install:

rpm -Uvh tfm-rubygem-katello-

4) restart:

satellite-maintain service start

5) resume operations

Comment 15 errata-xmlrpc 2022-07-05 14:30:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

Note You need to log in before you can comment on or make changes to this bug.