Every time a client checks in with the puppetmaster, I receive the
following error in the client logs:
Wed Aug 24 19:55:27 +0000 2011 Puppet (notice): Starting Puppet client
version 0.25.5
Wed Aug 24 19:56:05 +0000 2011 Puppet (err): Could not prefetch
package provider ''yum'': Execution of ''/usr/bin/python
/usr/lib/ruby/
site_ruby/1.8/puppet/provider/package/yumhelper.py'' returned 1: Loaded
plugins: fastestmirror
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
error was
12: Timeout on
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os:
(28, '''')
Traceback (most recent call last):
File "/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/
yumhelper.py", line 115, in <module>
ypl = pkg_lists(my)
File "/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/
yumhelper.py", line 40, in pkg_lists
my.doTsSetup()
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 84, in
doTsSetup
return self._getTs()
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in
_getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110,
in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 774,
in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 564,
in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 279, in
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 164, in
populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in
_check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1227,
in _check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1417,
in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1413,
in _getRepoXML
raise Errors.RepoError, msg
yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml)
for repository: base. Please verify its path and try again
Here is the relevant package version information:
# ruby --version
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
# puppet --version
0.25.5
# python --version
Python 2.6.5
# yum --version
3.2.27
Installed: rpm-4.8.0-12.el6.x86_64 at 2011-08-24 20:13
Built : CentOS BuildSystem <http://bugs.centos.org> at 2010-11-12
00:29
Committed: Panu Matilainen <pmatilai@redhat.com> at 2010-07-09
Installed: yum-3.2.27-14.el6.centos.noarch at 2011-08-24 20:13
Built : CentOS BuildSystem <http://bugs.centos.org> at 2011-04-29
12:19
Committed: Karanbir Singh <kbsingh@centos.org> at 2011-07-22
Installed: yum-plugin-fastestmirror-1.1.26-11.el6.noarch at
2011-08-24 20:13
Built : CentOS BuildSystem <http://bugs.centos.org> at 2010-11-12
00:37
Committed: James Antill <james.antill@redhat.com> at 2010-07-14
I searched this group and could not find a direct reference to this
issue. Any ideas out there?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.