Actions
Issue #2550
closedPublishing via rsync does not correctly look at publish records
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.12.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 15
Quarter:
Description
I noticed when perusing the code that this line:
https://github.com/pulp/pulp/blob/pulp-2.12.0-0.3.rc/server/pulp/plugins/rsync/publish.py#L307
Uses predistributor id (e.g. ObjectId("588b7df6418a8a1eaa5dafa1")
) when it should be using distributor_id.
This means that force_full will not be automatically set to True if the predistributor publish was force_full=True or there was an error:
https://github.com/pulp/pulp/blob/pulp-2.12.0-0.3.rc/server/pulp/plugins/rsync/publish.py#L338-L343
Actions
Filtering predistributor results by distributor_id
Fixing a bug where we were filtering predistributor publish results by predistributor id instead of distributor_id.
fixes #2550 https://pulp.plan.io/issues/2550