View Issue Details

IDProjectCategoryView StatusLast Update
0013444CentOS-7yumpublic2017-06-16 21:19
Reporteraenache 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0013444: [abrt] yum-cron: yumRepo.py:558:check:RepoError: Cannot find a valid baseurl for repo: updates/7/x86_64
DescriptionDescription of problem:
I changed the DNS settings probably.

Version-Release number of selected component:
yum-cron-3.4.3-150.el7.centos

Truncated backtrace:
yumRepo.py:558:check:RepoError: Cannot find a valid baseurl for repo: updates/7/x86_64

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 729, in <module>
    main()
  File "/usr/sbin/yum-cron", line 726, in main
    base.updatesCheck()
  File "/usr/sbin/yum-cron", line 618, in updatesCheck
    self.populateUpdateMetadata()
  File "/usr/sbin/yum-cron", line 422, in populateUpdateMetadata
    self.pkgSack # honor skip_if_unavailable
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook
    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 876, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 873, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 839, in _baseurlSetup
    self.check()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 558, in check
    'Cannot find a valid baseurl for repo: %s' % self.ui_id
RepoError: Cannot find a valid baseurl for repo: updates/7/x86_64

Local variables in innermost frame:
self: <yum.yumRepo.YumRepository object at 0x2ee4510>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
executable: /usr/sbin/yum-cron
kernel: 3.10.0-514.21.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 0
TagsNo tags attached.
abrt_hashf1b4042f44b8294cbb6584fea3cfd240cce6bde3
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/d29025411d77006feb76ab764bd34251d3b34f46

Activities

aenache

aenache

2017-06-16 21:19

reporter  

backtrace (1,840 bytes)
yumRepo.py:558:check:RepoError: Cannot find a valid baseurl for repo: updates/7/x86_64

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 729, in <module>
    main()
  File "/usr/sbin/yum-cron", line 726, in main
    base.updatesCheck()
  File "/usr/sbin/yum-cron", line 618, in updatesCheck
    self.populateUpdateMetadata()
  File "/usr/sbin/yum-cron", line 422, in populateUpdateMetadata
    self.pkgSack # honor skip_if_unavailable
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook
    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 876, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 873, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 839, in _baseurlSetup
    self.check()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 558, in check
    'Cannot find a valid baseurl for repo: %s' % self.ui_id
RepoError: Cannot find a valid baseurl for repo: updates/7/x86_64

Local variables in innermost frame:
self: <yum.yumRepo.YumRepository object at 0x2ee4510>
backtrace (1,840 bytes)
dso_list (77 bytes)
yum-plugin-fastestmirror-1.1.31-40.el7.noarch
yum-3.4.3-150.el7.centos.noarch
dso_list (77 bytes)
environ (217 bytes)
MAILTO=root
LANG=en_US.UTF-8
SHELL=/bin/bash
XDG_RUNTIME_DIR=/run/user/0
SHLVL=2
PWD=/root
LOGNAME=root
USER=root
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin
XDG_SESSION_ID=14594
_=/etc/cron.hourly/0yum-hourly.cron
environ (217 bytes)
machineid (135 bytes)
systemd=e41e10454998425797108baf46eedd3d
sosreport_uploader-dmidecode=654106455e575e56a6832fd2558af455384b289ddf98e83a53f1d7d675ec22f1
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2017-06-16 21:19 aenache New Issue
2017-06-16 21:19 aenache File Added: backtrace
2017-06-16 21:19 aenache File Added: dso_list
2017-06-16 21:19 aenache File Added: environ
2017-06-16 21:19 aenache File Added: machineid