Issue #2221
closed
rsync distributor doesn't remove files from remote when rsyncing empty repository with --delete
Status:
CLOSED - CURRENTRELEASE
Description
How to reproduce:
1. create rpm repo with some packages
2. publish in yum
3. publish in rsync distributor
4. remove all rpm units
5. publish in yum
6. publish in rsync distributor with --delete
Actual result: Packages are still on the remote
Expected result: Packages were removed from the remote
See pulp_smash_reproducer.py
Files
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
I was able to reproduce this issue. This only occurs when ALL units are removed from the repository. When only a portion of units are removed, the delete override correctly deletes units from the remote server.
I accidentally attached wrong patch. Now the correct patch
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
- Tags 2.11 added
- Sprint/Milestone set to 26
- Project changed from RPM Support to Pulp
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- Is duplicate of Issue #2337: The RPM rsync distributor's "delete" option has no effect added
- Status changed from MODIFIED to CLOSED - DUPLICATE
- Status changed from CLOSED - DUPLICATE to MODIFIED
- Is duplicate of deleted (Issue #2337: The RPM rsync distributor's "delete" option has no effect)
- Has duplicate Issue #2337: The RPM rsync distributor's "delete" option has no effect added
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
26)
Also available in: Atom
PDF
skip rsync if there are no files to sync but also only if delete is False
closes #2221 https://pulp.plan.io/issues/2221
Signed-off-by: Ina Panova ipanova@redhat.com