Project

Profile

Help

Issue #1285

closed

pulp nodes: removing everything from a repo on the parent will not publish the repo on the child

Added by mihai.ibanescu@gmail.com over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.7.0 Beta
Platform Release:
OS:
Fedora 22
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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

Is duplicate of Pulp - Issue #1254: TypeError: can't compare offset-naive and offset-aware datetimesCLOSED - CURRENTRELEASEamacdona@redhat.comActions
Actions #1

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
Actions #2

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF