Issue #1285
closedpulp nodes: removing everything from a repo on the parent will not publish the repo on the child
Description
I have a child node configured with a mirror strategy.
I have repo-1 bound with mirror as well.
I remove all content and then publish & sync:
pulp-admin rpm repo remove rpm --repo-id repo-1 --match "name=.*"
pulp-admin node repo publish --repo-id repo-1
pulp-admin node sync run --node-id miiban-f22-pulp
Sync report shows:
Synchronization succeeded
--------------------------------------------------------------------
Child Node Synchronization
--------------------------------------------------------------------
Repository:
Action: Merged
Content Sources:
Downloads:
Total Sources: 0
Id: repo-1
Units:
Added: 0
Removed: 3
Updated: 0
However, the child won't publish the repo.
In the logs I see:
celery.worker.job:ERROR: (4458-37056) TypeError: can't compare offset-naive and offset-aware datetimes
which is the same error I get when I try to publish the repo on the child.
If I then proceed to upload one file on the parent node and do publish & sync again, the repos do get published correctly.
Related issues
Updated by dkliban@redhat.com over 8 years ago
- Is duplicate of Issue #1254: TypeError: can't compare offset-naive and offset-aware datetimes added
Updated by dkliban@redhat.com over 8 years ago
- Status changed from NEW to CLOSED - DUPLICATE