I suspect that the DNS timeout is happening for every file that the importer tries to download, and the importer doesn't consider this a permanent sort of failure. This could cause the sync to take a very long time. I'm not familiar with what the DNS timeout would be, but even if it were 5 seconds and there were 10,000 items to sync that would be 50,000 seconds (more than half of a day!). The importer should have a class of errors it considers to be permanent failures that includes DNS timeouts and probably out of disk space errors. Can anyone think of others?
https://github.com/pulp/nectar/pull/24
fixed in pulp 2.6.0-0.2.beta
verified [root@cloud-qe-4 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [/] ... failed ('Connection aborted.', error(110, 'Connection timed out')) Task Failed Importer indicated a failed response
Moved to https://pulp.plan.io/issues/478