]
Barak Korren commented on OVIRT-2641:
-------------------------------------
its a simple shell script - any CentOS VM or container can be used as a dev environment
for this, you just need yum, yum-utils and distribution-gpg-keys.
mirror_mgr.sh - Build error
---------------------------
Key: OVIRT-2641
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-2641
Project: oVirt - virtualization made easy
Issue Type: Bug
Components: CI Mirrors
Reporter: Liora Milbaum
Assignee: infra
From job run:
[
https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
{code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 x86_64
jenkins/data/mirrors-reposync.conf
Checking if mirror needs a resync
Traceback (most recent call last):
File "/usr/bin/reposync", line 343, in <module>
main()
File "/usr/bin/reposync", line 175, in main
my.doRepoSetup()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 681, in
doRepoSetup
return self._getRepos(thisrepo, True)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 721, in
_getRepos
self._repos.doSetup(thisrepo)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup
self.retrieveAllMD()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in
retrieveAllMD
dl = repo._async and repo._commonLoadRepoXML(repo)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1465, in
_commonLoadRepoXML
local = self.cachedir + '/repomd.xml'
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 774, in
<lambda>
cachedir = property(lambda self: self._dirGetAttr('cachedir'))
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 757, in
_dirGetAttr
self.dirSetup()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 735, in
dirSetup
self._dirSetupMkdir_p(dir)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 712, in
_dirSetupMkdir_p
raise Errors.RepoError, msg
yum.Errors.RepoError: Error making cache directory:
/home/jenkins/mirrors_cache/centos-updates-el7 error was: [Errno 17] File exists:
'/home/jenkins/mirrors_cache/centos-updates-el7'
{code}