Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.28] Fix redundant API calls to Candlepin #2856

Merged
merged 1 commit into from Nov 1, 2021

Conversation

jirihnidek
Copy link
Contributor

@jirihnidek jirihnidek commented Oct 29, 2021

In SCA enabled mode, Subscription manager and Yum are sending
redundant API calls (/accessible_content) to fetch the SCA
certificate from Candlepin and refresh the redhat.repo file
everytime unnecessarily which is also causing redundant
API calls (/content_overrides and /release) to the Candlepin.
Servers such as Satellite may encounter unnecessarily high
traffic loads when a lot of hosts are registering or patching
concurrently. This patch fixed the issue.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2010137

In SCA enabled mode, Subscription manager and Yum are sending
redundant API calls (/accessible_content) to fetch the SCA
certificate from Candlepin and refresh the redhat.repo file
everytime unnecessarily which is also causing redundant
API calls (/content_overrides and /release) to the Candlepin.
Servers such as Satellite may encounter unnecessarily high
traffic loads when a lot of hosts are registering or patching
concurrently. This patch fixed the issue.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2010137
@jirihnidek jirihnidek changed the title Fix redundant API calls to Candlepin [1.28] Fix redundant API calls to Candlepin Oct 29, 2021
Copy link
Contributor

@ptoscano ptoscano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@ptoscano ptoscano merged commit 7fad7e5 into subscription-manager-1.28 Nov 1, 2021
3 of 4 checks passed
@ptoscano ptoscano deleted the jhnidek/2014052 branch November 1, 2021 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants