Issue #2337
closedThe RPM rsync distributor's "delete" option has no effect
Description
Let's say i do the following:
1. Create a repository with a yum distributor and RPM rsync distributor. Add content units to the repository.
2. Publish with the yum distributor.
3. Publish with the RPM rsync distributor. Verify that the correct files are in the target directory.
4. Remove all files from the repository, and publish with the yum distributor.
5. Publish with the RPM rsync distributor, with ``delete`` set to true. Verify that all files are removed from the target directory.
The verification in step 5 fails. All files in the target directory are left in place. Disabling SELinux has no effect. No errors or tracebacks are logged in journalctl. Here's the body of the HTTP POST call to /{repo_href}/actions/publish/
in step 5:
{
"id": "rpm_rsync_distributor_id",
"override_config": {"delete": true}
}
This issue is apparent in both Pulp 2.10 and 2.11.
Related issues