Project

General

Profile

Actions

Feature #22012

open

Do not do a mirror on sync when using incremental content

Added by Justin Sherrill over 7 years ago. Updated 8 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
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:

Actions

Also available in: Atom PDF