Project

Profile

Help

Test #4409

closed

force_full is not honored for distribution units

Added by bherring about 5 years ago. Updated about 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Pulp 2
Sprint:
Quarter:

Description

If you attempt to sync a repo like a KS repo with distribution units, the "force_full" option is not honored. This can cause issues if you have units that are not downloaded to disk, and you want to force a sync.

For example:

pulp: celery.worker.strategy:INFO: Received task: pulp.server.managers.repo.sync.sync[7d067474-52cc-42b9-859d-8abc28f83995]
pulp: pulp.server.controllers.repository:INFO: [7d067474] Fully resyncing due to use of force_full in config
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Downloading metadata files.
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Generating metadata databases.
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Determining which units need to be downloaded. 
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Downloading 0 RPMs.
pulp: pulp_rpm.plugins.importers.yum.purge:INFO: [7d067474] Removing missing units.
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Downloading additional units.
pulp: pulp_rpm.plugins.importers.yum.parse.treeinfo:INFO: [7d067474] upstream distribution unchanged; skipping
pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [7d067474] Sync complete.

Note that "upstream distribution unchanged" is logged, even though force_full is in effect.


Related issues

Copied from RPM Support - Issue #4267: force_full is not honored for distribution unitsCLOSED - CURRENTRELEASEcduryeeActions

Also available in: Atom PDF