Bug 1281969 - baseurl with file:// hangs and then timeout in yum repo
baseurl with file:// hangs and then timeout in yum repo
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-urlgrabber (Show other bugs)
x86_64 Linux
unspecified Severity low
: rc
: ---
Assigned To: Valentina Mukhamedzhanova
BaseOS QE - Apps
Depends On:
  Show dependency treegraph
Reported: 2015-11-13 17:54 EST by eduda
Modified: 2017-11-01 19:58 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description eduda 2015-11-13 17:54:38 EST
Description of problem:

using file:// in the repo appears to cause yum to timeout and not work

Version-Release number of selected component (if applicable):

How reproducible:

cat /rpmcache/7/myrepo.repo 


/rpmcache/7/myrepo/* has a few rpms in it and repodata is created with createrepo

/usr/bin/yum --setopt=reposdir=/rpmcache/7 list

Actual results:

file:///rpmcache/7/myrepo/repodata/repomd.xml: [Errno 12] Timeout on file://rpmcache/7/myrepo/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.

...repeats that msg.

Expected results:

should list the rpms

Additional info:

Comment 2 eduda 2015-11-18 12:21:56 EST
bug appears to be related to throttle=100 in yum.conf, so we might be able to work around this by increasing it.

Note You need to log in before you can comment on or make changes to this bug.