Bug 1316944 - Reduce the number of dynflow actions on a capsule sync
Summary: Reduce the number of dynflow actions on a capsule sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Capsule
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On: 1321137
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-11 13:54 UTC by John Mitsch
Modified: 2019-09-26 14:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 09:27:04 UTC
Target Upstream Version:


Attachments (Terms of Use)
first capsule sync run (77.70 KB, image/png)
2016-04-18 15:26 UTC, Kedar Bidarkar
no flags Details
second capsule sync run (47.95 KB, image/png)
2016-04-18 15:27 UTC, Kedar Bidarkar
no flags Details


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 12:28:58 UTC
Foreman Issue Tracker 13987 None None None 2016-04-22 14:57:00 UTC

Description John Mitsch 2016-03-11 13:54:36 UTC
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.

Comment 1 John Mitsch 2016-03-11 13:54:38 UTC
Created from redmine issue http://projects.theforeman.org/issues/13987

Comment 3 Bryan Kearney 2016-03-18 16:03:55 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13987 has been closed
-------------
John Mitsch
Applied in changeset commit:katello|19be4a17d5add6785c28c30448ba96ce8624bb0a.

Comment 7 Kedar Bidarkar 2016-04-01 10:11:27 UTC
Can you please provide some verification steps.

Comment 8 John Mitsch 2016-04-01 12:56:43 UTC
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

Comment 9 Kedar Bidarkar 2016-04-18 15:23:50 UTC
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

Comment 10 Kedar Bidarkar 2016-04-18 15:26:37 UTC
Created attachment 1148241 [details]
first capsule sync run

Comment 11 Kedar Bidarkar 2016-04-18 15:27:10 UTC
Created attachment 1148242 [details]
second capsule sync run

Comment 13 errata-xmlrpc 2016-07-27 09:27:04 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-2016:1501


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