I was able to solve it; by looking more carefully I could see this:
...
[UMD-2-updates: 239 of 1009 ] Downloading gfalFS-1.0.1-0.el6.x86_64.rpm
Could not retrieve package gfalFS-1.0.1-0.el6.x86_64. Error was failure:
gfalFS-1.0.1-0.el6.x86_64.rpm from UMD-2-updates: [Errno 256] No more mirrors to try.
...
But the package was there anyway:
# cd /var/www/cobbler/repo_mirror/UMD-2-update
# ls gfalFS-1.0.1-0.el6.x86_64.rpm
gfalFS-1.0.1-0.el6.x86_64.rpm
So, I decided to remove it, and the following time that I ran "cobbler
reposync..." it was correctly downloaded:
...
[UMD-2-updates: 239 of 1009 ] Downloading
gfalFS-1.0.1-0.el6.x86_64.rpm
15 kB 00:00
...
And the following synchronizations are skipping the downloading of the
package:
...
[UMD-2-updates: 239 of 1009 ] Skipping existing
gfalFS-1.0.1-0.el6.x86_64.rpm
...
Cheers,
Paco.
On 07/02/2013 05:25 PM, Paco Bernabe wrote:
Hi everybody,
We have some local mirrors which we are trying to update, but only
with one of them and after executing "cobbler reposync
--only="UMD-2-updates" --no-fail", we get the following issue; with
the rest of the repositories I have no problems... any clue? :
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
reposync failed, retry limit reached, skipping
running: chown -R root:apache /var/www/cobbler/repo_mirror/UMD-2-updates
received on stdout:
received on stderr:
running: chmod -R 755 /var/www/cobbler/repo_mirror/UMD-2-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.6/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.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
248, in runner
3), name=name, 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 154, in run
utils.die(self.logger,"overall reposync failed, at least one repo
failed to synchronize")
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 134,
in die
raise CX(msg)
!!! TASK FAILED !!!
Some information about the system:
- cobbler-web-2.2.3-2.el6.noarch
- cobbler-2.2.3-2.el6.noarch
- CentOS 6.4
--
Met vriendelijke groeten / Best regards,
*Paco Bernabe*
| Systemsprogrammer | SURFsara | Science Park 140 | 1098XG Amsterdam |
T +31 610 961 785 | paco(a)surfsara.nl |
www.surfsara.nl |
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
--
Met vriendelijke groeten / Best regards,
*Paco Bernabe*
| Systemsprogrammer | SURFsara | Science Park 140 | 1098XG Amsterdam | T
+31 610 961 785 | paco(a)surfsara.nl |