This is the first time I tried since upgrading to CentOS 7 cobbler-2.8.0-4.el7.x86_64, it used to work for me with version 2.6.
--path=rsync://
mirrors.greenmountainaccess.net/centos/6.9/os/task started: 2017-04-28_161835_import
task started (id=Media import, time=Fri Apr 28 16:18:35 2017)
Exception occured: <class '
cobbler.cexceptions.CX'>
Exception value: 'Command failed'
Exception Info:
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 82, in run
rc = self._run(self)
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 226, in runner
self.logger
File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 876, 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 899, in run_this
die(logger,"Command failed")
File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 114, in die
raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log:
Thu Apr 27 12:55:09 2017 - DEBUG | REMOTE CLI Authorized; user(?The problem seems to be with import_tree getting set to a location relative to the current directory from which I am running the command.
I am able to successfully import from a DVD image, but would like to use rsync.