Bug 786677

Summary: Support enabling/disabling sync operations for a repo
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: Pulp PluginsAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: unspecified   
Target Milestone: 0.1.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-10 06:50:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Coghlan 2012-02-02 06:26:23 UTC
The custom Pulp plugins should provide a setting that allows all sync operations to be disabled without otherwise altering the configuration.

When this "disable_sync" flag is set, all sync operations will bail out immediately, reporting SYNC_DISABLED as the sync result.

The management client will also need to be updated to support enabling/disabling the sync setting on repos.

Comment 1 Nick Coghlan 2012-02-03 03:53:38 UTC
This setting will actually just be called "enabled" rather than "disable_sync".

It will default to *False*, so that improperly configured repositories are slightly less likely to cause problems.

Comment 2 Nick Coghlan 2012-02-10 06:50:33 UTC
Done. Also added tests for the "dry_run_only" option (and discovered it was actually broken for the snapshot_tree plugin)