Red Hat Bugzilla – Bug 244567
mock complains about local repository
Last modified: 2013-01-09 23:21:15 EST
Description of problem:
mock times out when trying to connect to "local" repository
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mock a package with --debug option
Sometimes work with timeout errors
Sometimes complains about useradd
Should work without any error
I am not a contributor on Koji
Error message is :
DEBUG: Executing timeout(0): /usr/sbin/mock-helper yum --installroot
[Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from local: [Errno 256] No more mirrors
I wonder if this is due to some settings on the http daemon on koji.fp.o. I
suspect that we could serve the came content out via a different machine (or
machines) and this might get better. Will investigate.
Haven't located root cause of the timeouts yet, not related to content, server,
http server software/settings, NFS, nor xen. May be networking infrastructure.
Also discovered bugs in yum/urlgrabber that are preventing urlgrabber from being
able to do retries which would make this problem (while still a problem) a bit
We tracked this down to firewall settings on the various hosts in the colo.
Unfortunately these were default settings so perhaps something is busted in
iptables. However we found a work around and things should work much nicer with