That traceback is the util command to run the rsync failing. Can you run
the rsync manually from the CLI outside of cobbler? This seems to be some
kind of misconfiguration or permissions issue on the foo server (SELinux
maybe?).


On Tue, Dec 3, 2013 at 2:11 PM, Bret Wortman
<[email protected]>wrote:

>  I'm really struggling (as I seem to do every time there's a new release
> of Fedora/Centos) with getting this onto my development systems, which
> aren't connected to the internet.
>
> So I run an rsync:
>
> # rsync -arv rsync://mirrors.kernel.org/mirrors/centos/6.5 .
>
> This I then sneakernet to my main fileserver, where I host it as
> "http://www.foo.com/centos/6.5"; <http://www.foo.com/centos/6.5>.
>
> On my cobbler which runs on my internet-connected systems, "cobbler
> import --path=rsync://mirrors.kernel.org/mirrors/centos/6.5" appears to
> work (at least, it doesn't error out within the first 10 seconds and runs
> well past 30 minutes as of this writing).
>
> The same command run against my "www.foo.com" server, using protocols
> including http and rsync, all produce errors like this:
>
> # cobbler import --path=rsync://www/centos/6.5 --name=Centos6.5
> task started: 2013-12-03_145832_import
> task started (id=Media import, time=Tue Dec  3 14:58:32 2013)
> Exception occurre: <class 'cobbler.cexceptions.CX'>
> Exception value: 'Command failed'
> Exception Info:
>   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 89, in
> run
>     rc=self._run(self)
>    File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 232, in
> runner
>     self.logger
>    File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 879, in
> import_tree
>     utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)
>    File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 920, in
> run_this
>     die(logger,"Command failed")
>    File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 137, in
> die
>     raise CX(msg)
>
> !!! TASK FAILED !!!
> #
>
> Any ideas? It's the same version of Cobbler on both systems (2.4.0-1).
>
>
> --
> *Bret Wortman*
>
>  http://damascusgrp.com/
>  http://about.me/wortmanbret
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>

<<51f7de33e4b08d2bdb8b4860>>

_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to