I have my repo defined as follows:

# cobbler repo report --name=C7-x86_64-updates
Name                           : C7-x86_64-updates
Apt Components (apt only)      : 
Apt Dist Names (apt only)      : 
Arch                           : x86_64
Breed                          : yum
Comment                        : 
Createrepo Flags               : <<inherit>>
Environment Variables          : {}
Keep Updated                   : True
Mirror                         : 
http://mirror.cs.vt.edu/pub/CentOS/7/updates/x86_64
Mirror locally                 : True
Owners                         : ['admin']
Priority                       : 99
External proxy URL             : 
RPM List                       : []
Yum Options                    : {}

And when I try to do the reposync:

# cobbler reposync --only=C7-x86_64-updatestask started: 
2016-01-05_130456_reposync
task started (id=Reposync, time=Tue Jan  5 13:04:56 2016)
hello, reposync
run, reposync, run!
creating: /var/www/cobbler/repo_mirror/C7-x86_64-updates/config.repo
creating: 
/var/www/cobbler/repo_mirror/C7-x86_64-updates/.origin/C7-x86_64-updates.repo
running: /usr/bin/reposync -l -n -d 
--config=/var/www/cobbler/repo_mirror/C7-x86_64-updates/.origin/C7-x86_64-updates.repo
 --repoid=C7-x86_64-updates --download_path=/var/www/cobbler/repo_mirror -a 
x86_64
 13 kB  00:00     
3.6 kB  00:00     
3.6 kB  00:00     
2.5 kB  00:00     
2.5 kB  00:00     
2.5 kB  00:00     
2.5 kB  00:00     
2.7 kB  00:00     
1.2 kB  00:00     
2.7 kB  00:00     
2.7 kB  00:00     
 11 kB  00:00     
C7-x86_64-updates/prestodelta  FAILED                                          
Failed to download prestodelta for repository C7-x86_64-updates: [Errno 256] No 
more mirrors to try.
389-ds-base-1.2.11.15-68.el6_7 FAILED                                          
389-ds-base-devel-1.2.11.15-68 FAILED                                          
:
:
selinux-policy-doc-3.7.19-279.el6_7.8.noarch: [Errno 256] No more mirrors to 
try.
rsyslog7-7.4.10-3.el6_7.1.x86_64: [Errno 256] No more mirrors to try.
2:qemu-kvm-0.12.1.2-2.479.el6_7.3.x86_64: [Errno 256] No more mirrors to try.
postgresql-devel-8.4.20-4.el6_7.i686: [Errno 256] No more mirrors to try.
1:libreoffice-langpack-zh-Hans-4.2.8.2-11.el6_7.1.x86_64: [Errno 256] No more 
mirrors to try.
:
:
received on stderr: 
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.7/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.7/site-packages/cobbler/action_reposync.py", line 126, 
in run
    self.sync(repo)
   File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 
170, in sync
    return self.yum_sync(repo)
   File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 
431, in yum_sync
    utils.die(self.logger,"cobbler reposync failed")
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 134, in die
    raise CX(msg)

reposync failed, tries left: 0
reposync failed, retry limit reached, skipping
running: chown -R root:apache /var/www/cobbler/repo_mirror/C7-x86_64-updates
received on stdout: 
received on stderr: 
running: chmod -R 755 /var/www/cobbler/repo_mirror/C7-x86_64-updates
received on stdout: 
received on stderr: 
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'overall reposync failed, at least one repo failed to 
synchronize'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 126, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'overall reposync failed, at least one repo failed to 
synchronize'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 87, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 247, in 
runner
    3), name=name, nofail=nofail, logger=self.logger)
   File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 820, in reposync
    return reposync.run(name)
   File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 
155, in run
    utils.die(self.logger,"overall reposync failed, at least one repo failed to 
synchronize")
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 134, in die
    raise CX(msg)

!!! TASK FAILED !!!
#

What's really odd about this is that I have a C6 repo defined exactly the same 
as this one (though the version number is different) and it updates just fine. 
I've removed and re-added the repo without joy. I can use lftp to pull the 
whole thing down, and still get errors when attempting the reposync.

What am I missing?
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to