Project

General

Profile

Feature #22012

Do not do a mirror on sync when using incremental content

Added by Justin Sherrill almost 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1371276

Document URL:

https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/content-management-guide/

Section Number and Name:

Section: C 6.3

Mirror on sync defined:
Repositories now have the option to be used in a “mirror on sync” state where the state of the repository mirrors that of the upstream repository at sync time. This results in packages no longer in the upstream repository being removed. mirror-on-sync is set to true by default.

Describe the issue:

It assumes that you want it to remove old/broken packages when you update from the source. The "fix" is to disable it when creating the repo:

hammer repository create \
--name='testrepo1' \
--organization-id=1 \
--product='product1' \
--content-type='yum' \
--publish-via-http=false \
--mirror-on-sync=false \
--download-policy=immediate

Suggestions for improvement:

It should not do a mirror on sync when using incremental.

Additional information:

History

#1 Updated by Eric Helms over 1 year ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF