[Pulp-dev] Skipped repo produces result: error

Ina Panova ipanova at redhat.com
Fri Aug 7 09:40:17 UTC 2020

the logs you shared are regarding publish task and not sync. It would be
great to see details of the sync task, but generally if nothing changes on
the remote repo, sync is not fully performed, but never skipped, it is
performed with  optimizations that's why it is generally fast. So if it
succeeds the state should not be error unless some issue occurred.


Ina Panova
Senior Software Engineer| Pulp| Red Hat Inc.

"Do not go where the path may lead,
 go instead where there is no path and leave a trail."

On Fri, Aug 7, 2020 at 10:48 AM Mike Kenyon <mjkenyon at gmail.com> wrote:

> Hi Pulp Devs,
> Is it expected that an rpm repo, which is skipped because it has not
> changed, leads to a result status of 'error' as reported by 'pulp-admin
> repo history sync --details'?
> Repo Id:       rhel6-fastrack
> Result:        error
> Started:       2020-08-05T23:42:51Z
> Completed:     2020-08-05T23:52:47Z
> Added Count:   None
> Removed Count: None
> Updated Count: None
> Summary:       None
> Details:       None
> 2020-08-05T01:46:26.041804+02:00 hostname pulp: celery.app.trace:INFO: [3ad53e84] Task pulp.server.managers.repo.publish.publish[3ad53e84-1e6e-4a08-98e5-08a9667f87f9] succeeded in 0.464455373585s: {'exception': None, 'repo_id': 'rhel6-fastrack', 'traceback': None, 'started': '2020-08-04T23:46:25Z', '_ns': 'repo_publish_results', 'completed': datetime.datetime(2020, 8, 4, 23, 46, 25, 599236, tzinfo=<isodate.tzinfo.Utc object at 0x7f077e3e0e50>), 'error_message': None, 'distributor_type_id': 'yum_distributor', 'distributor_id': 'yum_distributor', 'summary': 'Skipped: Repository content has not changed since last publish.', 'result': 'skipped', 'id': '5f29f351ce07110dd3a0d539', 'details': 'Skipped: Repository content has not changed since last publish.'}
> Installed package versions:
> pulp-rpm-plugins-2.21.1-1.el7.noarch
> pulp-rpm-admin-extensions-2.21.1-1.el7.noarch
> pulp-admin-client-2.21.1-1.el7.noarch
> pulp-server-2.21.1-1.el7.noarch
> pulp-rpm-admin-extensions-2.21.1-1.el7.noarch
> Cheers
> Mike
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20200807/9b1fa498/attachment.htm>

More information about the Pulp-dev mailing list