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)
7.1
x86_64 Linux
unspecified Severity low
: rc
: ---
Assigned To: Valentina Mukhamedzhanova
BaseOS QE - Apps
:
Depends On:
Blocks:
  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:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 

[myrepo]
name=myrepo
baseurl=file:///rpmcache/7/myrepo
enabled=1

/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:

python-urlgrabber-3.10-6.el7.noarch
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.