Binet, Valere (NIH/NIA/IRP) [C]
2015-Mar-11 19:09 UTC
[CentOS] cobbler reposync fails when accessing the CentOS 6 extras repos
Hi everyone, We are updating local repos from different mirrors using cobbler reposync. This has been working fine for the longest time but started to fail a few days ago (see below for failure details). I first try to use a different mirror but that didn?t help. This morning, I modified cobbler to disable the auto-update for the centos/6/extras/i386/ and centos/6/extras/x86_64/ repos. After that the reposync worked like a charm. Is there a problem with the CentOS 6 extras repos? Is someone on this list in charge of them? If not, who should I contact? Thank you in advance for your help. Val?re Binet [C] IT Security Administrator Kelly Government Solutions On-Site at the NIH NIH / NIA / IRP Tel : 410 558 8013 mailto: binetv at nia.nih.gov On 3/11/15, 2:00 AM, "Cron Daemon" wrote:>task started: 2015-03-11_020001_reposync >task started (id=Reposync, time=Wed Mar 11 02:00:01 2015) >hello, reposync >run, reposync, run! >ossec-6-x86_64 is set to not be updated >running: rsync -rltDv --copy-unsafe-links --delete-after --delete >--exclude-from=/etc/cobbler/rsync.exclude >rsync://lug.mtu.edu/centos/5/updates/i386/ >/var/www/cobbler/repo_mirror/updates-i386 >received on stdout: Welcome to lug.mtu.edu, the rsync server for > __ __ _____ _ _ _ _ _ ____ >|/ ___| > _ >|_| | >|_| |_| |_| \___/ |_____\___/ \____| > >Linux Users Group >Michigan Technological University >Houghton, MI, USA > >Questions or comments? Direct them to lug-l at mtu.edu. > >This machine is also called rsync24.us.gentoo.org > >receiving file list ... done >./ >repodata/ >repodata/filelists.sqlite.bz2 >repodata/other.sqlite.bz2 >repodata/primary.sqlite.bz2 >repodata/repomd.xml >cannot delete non-empty directory: cache >deleting config.repo >deleting repodata/d98c1db2dc84b22472574ae838661e8c5ceb9f29-other.xml.gz >deleting >repodata/c725f17afa03f097310be76e259bb6127986209e-other.sqlite.bz2 >deleting >repodata/a522ad85254382821073937269af0cbea3439843-filelists.sqlite.bz2 >deleting repodata/49f57ad0917a4d5b00766b94cb5bcf79ef9377ac-primary.xml.gz >deleting >repodata/28fbc448ae20809893912ae7a0e8454a315dfe63-primary.sqlite.bz2 >deleting >repodata/0ec92d5b471bea2e84c6c9ec4c8e6dc37f3cb7c9-filelists.xml.gz > >sent 290 bytes received 9256161 bytes 2644700.29 bytes/sec >total size is 1796883957 speedup is 194.12 > >received on stderr: >running: createrepo -c cache -s sha >/var/www/cobbler/repo_mirror/updates-i386 >received on stdout: Spawning worker 0 with 251 pkgs >Workers Finished >Gathering worker results > >Saving Primary metadata >Saving file lists metadata >Saving other metadata >Generating sqlite DBs >Sqlite DBs complete > >received on stderr: >creating: /var/www/cobbler/repo_mirror/updates-i386/config.repo >running: chown -R root:apache /var/www/cobbler/repo_mirror/updates-i386 >received on stdout: >received on stderr: >running: chmod -R 755 /var/www/cobbler/repo_mirror/updates-i386 >received on stdout: >received on stderr: >running: rsync -rltDv --copy-unsafe-links --delete-after --delete >--exclude-from=/etc/cobbler/rsync.exclude >rsync://mirror.cogentco.com/centos/6/extras/i386/ >/var/www/cobbler/repo_mirror/extras-6-i386 >received on stdout: >+------------------------------------------------------------------------- >-+ >| Welcome to mirror.cogentco.com! > | >+------------------------------------------------------------------------- >-+ >| > | >| Thank you for using the Cogent Communications Mirror server. > | >| > | >| *** Please limit your rsyncs to a max of 4x per day *** > | >| > | >| If you have any problems with this site please contact > | >| support at cogentco.com. > | >| > | >| http://www.cogentco.com > | >+------------------------------------------------------------------------- >-+ > > > >received on stderr: @ERROR: Unknown module 'centos' >rsync error: error starting client-server protocol (code 5) at >main.c(1503) [receiver=3.0.6] > >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 173, in sync > return self.rsync_sync(repo) > File "/usr/lib/python2.6/site-packages/cobbler/action_reposync.py", >line 274, in rsync_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 87, in >run > rc = self._run(self) > File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 250, >in runner > name=None, nofail=nofail, logger=self.logger) > File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 818, 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 !!!
Reasonably Related Threads
- Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?
- Any alternatives for the horrible reposync
- Any alternatives for the horrible reposync
- Dependency problem with yum-utils when installing Cobbler on CentOS
- Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?