Bug 1434051

Summary: [RFE] Disable Automatic content sync to Capsule on promotion
Product: Red Hat Satellite Reporter: orabin
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.7CC: bbuckingham, bkearney, egolov, jcallaha, rjerrido, smeyer
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-07 07:16:55 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 orabin 2017-03-20 15:51:32 UTC
When promoting to a lifecycle environment, all of the capsules that are connected to the same environment get synced right away.

With multiple capsules on the same lifecycle environment, all starting to sync at the same time automatically this could cause significant load.

This also prevents syncing only during set maintenance windows.
Allowing to disable the automatic sync when promoting and allowing to initiate a sync later on would prevent having to cancel all running sync tasks when promoting outside the maintenance window.

Comment 1 Stefan Meyer 2017-05-08 13:42:17 UTC
One of my customers is automatically publishing and promoting all their CCVs.
New Capsule sync tasks are created while the others are still in progress
and the customer ends up with dozens of Capsule sync tasks.

While there should be an option to enable/disable syncs with a Capsule, the
customer also like to see an option for "hammer content-view version promote"
to start or prevent a sync of one, multiple or all Capsules.

Examples:

Disable all sync for all Capsules
# hammer content-view version promote --content-view CV --no-capsule-sync

Disable sync for some Capsules
# hammer content-view version promote --content-view CV --no-capsule-sync=CAPSULE1,CAPSULE2

Sync to all Capsule
# hammer content-view version promote --content-view CV --capsule-sync

Sync to some Capsules
# hammer content-view version promote --content-view CV --capsule-sync=CAPSULE1,CAPSULE2

This would give the customer more control when a sync over slower networks should be performed.

Comment 2 Rich Jerrido 2018-05-07 07:16:55 UTC

*** This bug has been marked as a duplicate of bug 1305040 ***