Red Hat Bugzilla – Bug 1316944
Reduce the number of dynflow actions on a capsule sync
Last modified: 2016-07-27 05:27:04 EDT
Optimizing is needed for a capsule sync, which is updating every distributor and importer for all repositories on a capsule each time. This should be done as needed instead.
Created from redmine issue http://projects.theforeman.org/issues/13987
Moving to POST since upstream bug http://projects.theforeman.org/issues/13987 has been closed ------------- John Mitsch Applied in changeset commit:katello|19be4a17d5add6785c28c30448ba96ce8624bb0a.
Can you please provide some verification steps.
Kedar, Run a capsule sync with yum repos and then run another capsule sync right after that. On the second capsule sync, you shouldn't see any UpdateImporter and RefreshDistributor tasks when you look at the dynflow tasks. -John
VERIFIED with sat62-snap8.1 Ran a sync to capsule and then ran another capsule sync just after the previous one. The second capsule sync does not have UpdateImporter and RefreshDistributor in the plan from the foreman-tasks/dynflow
Created attachment 1148241 [details] first capsule sync run
Created attachment 1148242 [details] second capsule sync run
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-2016:1501