Bug 999940 - skip_if_unavailable not always honored
skip_if_unavailable not always honored
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-22 08:02 EDT by Steve Grubb
Modified: 2013-08-26 04:24 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-26 04:24:15 EDT
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 Steve Grubb 2013-08-22 08:02:56 EDT
Description of problem:
I have skip_if_unavailable=1 set for an internal coverity repo. If I am not logged in to our vpn, occasionally an update fails for the following reason:

http://cov01.lab.eng.brq.redhat.com/coverity/install/covscan/fedora/19/x86_64/repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: cov01.lab.eng.brq.redhat.com; No address associated with hostname"
Trying other mirror.
Error: failure: repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2 from covscan-fedora: [Errno 256] No more mirrors to try.
       http://cov01.lab.eng.brq.redhat.com/coverity/install/covscan/fedora/19/x86_64/repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: cov01.lab.eng.brq.redhat.com; No address associated with hostname"

skip_if_unavailable should consistently skip this repo. I don't know why some updates are fine and some end like this. "yum check-update" runs fine. "yum -y update" didn't.

Version-Release number of selected component (if applicable):
yum-3.4.3-106.fc19.noarch

How reproducible:
intermittently
Comment 1 Zdeněk Pavlas 2013-08-26 04:24:15 EDT
This is a known bug (BZ 852643).  skip-if-unavailable works only at repository setup time.  In this case the local copy was valid, so the repo was not disabled. Then, during depsolving, a file dependency needed to be resolved. Yum tried to download filelists for all enabled repositories, including this one.  It's considered a fatal error when depsolver can't access filelists. You can only work this around by something like:

[coverity]
...
skip_if_unavailable=1
mdpolicy=group:all

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