[Pulp-list] Parallel repo sync gets stuck
ben.stanley at exemail.com.au
ben.stanley at exemail.com.au
Wed Jan 7 01:29:52 UTC 2015
I found that there was a feed URL with two forward slashes in it:
Jan 7 11:55:29 bumblebee pulp: pulp_rpm.plugins.importers.yum.sync:INFO:
Downloading metadata from
http://repos.fedorapeople.org/repos/pulp//pulp/stable/2/7Server/x86_64/.
Syncronising this repository never completed:
pulp-admin rpm repo sync run --repo-id=pulp-2-el7-x86_64
+----------------------------------------------------------------------+
Synchronizing Repository [pulp-2-el7-x86_64]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[===================================================] 100%
RPMs: 0/0 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[===================================================] 100%
Distributions: 0/0 items
... completed
Importing errata...
[-]
... completed
Importing package groups/categories...
[-]
... completed
The task does not make progress from this point.
Updating the feed URL to remove the double slash:
pulp-admin rpm repo update --repo-id=pulp-2-el7-x86_64
--feed=http://repos.fedorapeople.org/repos/pulp/pulp/stable/2/7Server/x86_64
and then running a sync:
pulp-admin rpm repo sync run --repo-id=pulp-2-el7-x86_64
This time the sync completes successfully.
It seems that the URL should be validated at the time that the repo is
created/updated, rather than being left to cause a mysterious error when
the repo is synchronised?
Still using pulp 2.5.0 for now.
Ben.
More information about the Pulp-list
mailing list