Bug 1509965
| Summary: | very slow publishing of a content view with filters containing many errata | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
| Component: | Content Views | Assignee: | Partha Aji <paji> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | Unspecified | CC: | bbuckingham, bkearney, dcaplan, gsapienz, jocke.martensson, jsherril, mburgerh, mtenheuv, nitthoma, omaciel, paji, pgustafs, pm-sat, satellite6-bugs, sudo, zhunting |
| Target Milestone: | Unspecified | Keywords: | FieldEngineering, PrioBumpField, PrioBumpPM, PrioBumpQA, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-21 16:54:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pavel Moravec
2017-11-06 13:12:09 UTC
Also worth to know, that the list of errata works quite inefficiently when having multiple repos. Assume I have a big repo (RHEL6 6Server, e.g.) and several small repos and apply errata filter "include every errata older than today". Then - after adding the debugs per "Additional info" - one can see that publishing that CV spends *same* (surprisingly high) time in the method https://github.com/Katello/katello/blob/master/app/lib/actions/katello/repository/clone_yum_content.rb#L17 for *each and every* repo where errata are applied to. Even if the repo has just few errata. So the calculation is somehow disproportional for small repos (if there is a big repo as well) and it seems the calculation is repeated for each and every repo in the CV once again. I can replicate this and I have also several customers who are seeing this. This is turning Satellite 6 into something which is not very useful. Connecting redmine issue http://projects.theforeman.org/issues/21727 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21727 has been resolved. Re-proposing for 6.3, as this has a high impact. Partha would you mind taking a look at cherry-picking this. 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/RHSA-2018:0336
|