Bug 1207286 - RFE: speed up the process to get erratas available to the client
Summary: RFE: speed up the process to get erratas available to the client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: CDS
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Vratislav Hutsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-30 15:42 UTC by Jerome Boutaud
Modified: 2017-03-01 22:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-01 22:09:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0367 0 normal SHIPPED_LIVE Red Hat Update Infrastructure 3.0 Release 2017-03-02 03:05:22 UTC

Description Jerome Boutaud 2015-03-30 15:42:05 UTC
Description of problem:

Currently it takes 24+ hours for the CDS to be able to deliver the content to the RHUI clients. This negatively impacts a customer's ability to get their systems secure. The CDN team has a goal to have the content available in CDN within 1 hour of the release of an errata. We should work on minimizing the time it takes to get the content to the CDS. 

We should consider:
-A way for CDN to notify a RHUA to perform sync operations
-A way for the CDS to sync content from the RHUA/CDS in a more efficient fashion.

Comment 3 Chris Duryee 2016-03-28 18:31:09 UTC
This is significantly faster in rhui 3

Comment 4 Radek Bíba 2016-11-24 15:20:38 UTC
(In reply to Chris Duryee from comment #3)
> This is significantly faster in rhui 3

Could you please elaborate on that and describe how this RFE was implemented? I can see that the default repo_sync_frequency is still six hours, but do repos get synced asynchronously if they change and/or is the syncing more efficient now? How can this RFE be verified without waiting for an erratum to be shipped live and checking how fast it appears in the relevant repo in RHUI?

Comment 5 Chris Duryee 2016-11-28 13:25:43 UTC
In RHUI 2, the process for the client to get an errata was as follows:

* RHUA syncs content down
* after its done, CDS syncs content down from RHUA
* after that's done, client can update

This process could take a long time, depending on how fast/slow the CDS sync is.

In RHUI 3, step #2 is no longer needed. Once the RHUA syncs the content down, it should be available to the CDSes shortly after.

To test this, you could probably just sync content to the RHUA, and then ensure clients are able to see it on a CDS.

Comment 6 Radek Bíba 2016-12-02 08:56:03 UTC
Thanks, Chris. We've already verified repeatedly that synced content is (immediately) available. In addition, yesterday I deployed a RHUI environment with RHEL 5 repos. Later that day (US time, me already AFK) a critical async Firefox erratum went out (RHSA-2016:2843). This morning (European time) I see the new Firefox in my RHUI env, and my RHEL 5 client machine can fetch the package from there, too. According to rhui-manager, the repo was last synced 12-01-2016 22:49.

Comment 8 errata-xmlrpc 2017-03-01 22:09:41 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, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2017:0367


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