Project

Profile

Help

Issue #4865

PULP_MANIFEST does not update correctly to publish files with iso_distributor via fast-forward when deleting an unit

Added by Zhiming about 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.20.0
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 53

Description

PULP_MANIFEST does not update correctly when delete an unit

PULP_MANIFEST does not update correctly to publish files with iso_distributor via fast-forward (refer to the issue[1]) when deleting an unit.

Reproducing steps:
1. Create an iso repo
2. Upload an iso to the repo
3. Delete the iso and check the iso and PULP_MANIFEST, the iso file was removed but metadata is still in PULP_MANIFEST

[1] https://pulp.plan.io/issues/4708.


Related issues

Has duplicate RPM Support - Issue #4857: Pulp 2 Nightly Regression in test_iso_crud.ISOUpdateTestCase.test_allCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to Pulp - Test #5034: PULP_MANIFEST does not update correctly to publish files with iso_distributor via fast-forward when deleting an unitCLOSED - COMPLETE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 4740f112 View on GitHub
Added by Zhiming about 1 year ago

Fix the issue that PULP_MANIFEST is not update correctly.

Fix the issue that PULP_MANIFEST is not update correctly to publish files with iso_distributor via fast-forward when deleting a exsting unit. Besides that, add two unit tests and improve an unit test to check the fix.

fixes #4865

History

#1 Updated by CodeHeeler about 1 year ago

  • Project changed from Pulp to RPM Support
  • Tags Pulp 2 added

#2 Updated by ipanova@redhat.com about 1 year ago

@Zhiming do you think you can submit a fix for this as a follow up for the https://pulp.plan.io/issues/4708 you worked on? thank you.

#3 Updated by ttereshc about 1 year ago

  • Status changed from NEW to POST
  • Assignee set to Zhiming
  • Triaged changed from No to Yes
  • Sprint set to Sprint 53

#4 Updated by ttereshc about 1 year ago

  • Has duplicate Issue #4857: Pulp 2 Nightly Regression in test_iso_crud.ISOUpdateTestCase.test_all added

#5 Updated by Zhiming about 1 year ago

  • Status changed from POST to MODIFIED

#6 Updated by ttereshc about 1 year ago

  • Project changed from RPM Support to Pulp
  • Platform Release set to 2.20.0

#7 Updated by ttereshc about 1 year ago

  • Sprint/Milestone set to 2.20.0

#8 Updated by bherring about 1 year ago

  • Copied to Test #5034: PULP_MANIFEST does not update correctly to publish files with iso_distributor via fast-forward when deleting an unit added

#9 Updated by ttereshc about 1 year ago

  • Status changed from MODIFIED to 5

#10 Updated by ttereshc about 1 year ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF