I have encountered a similar problem when using the url installed by epel installation. I suspect it is because reposync is switching between different mirror and encounters a transmission issue.
Since a have specified a specific mirror, the problem has disappeared. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stuart J. Newman Engineer 4; Systems Solar Dynamics Observatory (SDO) Honeywell Technology Solutions Inc NASA/Goddard Space Flight Center Building 14, Room E222 Mail Stop 428.2 Greenbelt, MD 20771 Office: (301) 286-5145 EMail: [email protected] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, please notify the sender at once, and you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature. > -----Original Message----- > From: [email protected] [mailto:cobbler- > [email protected]] On Behalf Of James Cammarata > Sent: Tuesday, August 14, 2012 08:33 > To: cobbler mailing list > Subject: Re: [cobbler] cobbler reposync on centos 6.3 > > On Tue, Aug 14, 2012 at 7:11 AM, Shake Chen <[email protected]> > wrote: > > Hi > > > > I run cobbler 2.2.3 in centos 6.2 , the cobbler reposync seem have no > > problem. but in centos 6.3, > > > > > > > > cobbler reposync > > > > [epel6-x86_64: 7684 of 7685 ] Skipping existing > > zvbi-devel-0.2.33-6.el6.x86_64.rpm > > [epel6-x86_64: 7685 of 7685 ] Skipping existing > > zvbi-fonts-0.2.33-6.el6.noarch.rpm > > > > received on stderr: > > Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: > > 'cobbler reposync failed' > > Exception Info: > > File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, > in die > > raise CX(msg) > > > > Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: > > 'cobbler reposync failed' > > Exception Info: > > File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", > > line 125, in run > > self.sync(repo) > > File "/usr/lib/python2.6/site- > packages/cobbler/action_reposync.py", > > line 169, in sync > > return self.yum_sync(repo) > > File "/usr/lib/python2.6/site- > packages/cobbler/action_reposync.py", > > line 402, in yum_sync > > utils.die(self.logger,"cobbler reposync failed") > > File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line > 134, > > in die > > raise CX(msg) > > > > reposync failed, tries left: 0 > > Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: > > 'reposync failed, retry limit reached, aborting' > > Exception Info: > > File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 126, > in die > > raise CX(msg) > > > > Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: > > 'reposync failed, retry limit reached, aborting' > > Exception Info: > > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, > in run > > rc = self._run(self) > > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line > > 251, in runner > > name=None, nofail=nofail, logger=self.logger) > > File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 758, > > in reposync > > return reposync.run(name) > > File "/usr/lib/python2.6/site- > packages/cobbler/action_reposync.py", > > line 147, in run > > utils.die(self.logger,"reposync failed, retry limit reached, > aborting") > > File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line > 134, > > in die > > raise CX(msg) > > > > !!! TASK FAILED !!! > > > > but when I run > > > > /usr/bin/reposync -l -m -d > > --config=/var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6- > x86_6 > > 4.repo > > --repoid=epel6-x86_64 --download_path=/var/www/cobbler/repo_mirror -a > > x86_64 > > > > seem no problem. > > What is the return value when you run reposync manually? It is possible > reposync is returning a non-zero value, making cobbler think the > command failed. > > Also, could you confirm the options you've specified above are the same > as those in your settings for reposync_flags? Those are the defaults, I > just want to make sure. > _______________________________________________ > cobbler mailing list > [email protected] > https://lists.fedorahosted.org/mailman/listinfo/cobbler _______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
