Project

Profile

Help

Issue #4267

force_full is not honored for distribution units

Added by cduryee 11 months ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
2.19.0
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
Yes
Verification Required:
Yes
Sprint:
Sprint 46

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 to RPM Support - Test #4409: force_full is not honored for distribution units CLOSED - COMPLETE Actions

Associated revisions

Revision b30b5e29 View on GitHub
Added by cduryee 11 months ago

use `force_full` when syncing distribution units

closes #4267

https://pulp.plan.io/issues/4267

History

#2 Updated by cduryee 11 months ago

  • Status changed from NEW to POST

#3 Updated by CodeHeeler 11 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 46

#5 Updated by cduryee 11 months ago

  • Status changed from POST to MODIFIED

#6 Updated by bherring 9 months ago

  • Copied to Test #4409: force_full is not honored for distribution units added

#7 Updated by ttereshc 8 months ago

  • Platform Release set to 2.19.0

#8 Updated by ttereshc 8 months ago

  • Sprint/Milestone set to 2.19.0

#9 Updated by ttereshc 8 months ago

  • Verification Required changed from No to Yes

#10 Updated by ttereshc 8 months ago

  • Status changed from MODIFIED to ON_QA

#11 Updated by kersom 8 months ago

  • Verified changed from No to Yes

This one already has automation: test_distribution_content_units.

#12 Updated by ttereshc 8 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

#13 Updated by bmbouter 7 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF