import with rsync error
by Tony Schreiner
I am getting errors with cobbler import with --path=rsync://...
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.
Here is the command and error to console (please excuse the line-folding):
$ sudo cobbler import --name=CentOStest --breed=redhat --os-version=rhel6
--arch=x86_64
--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(?
Thu Apr 27 12:55:09 2017 - INFO | REMOTE start_task(Reposync);
event_id(2017-04-27_125509_reposync); user(?)
Thu Apr 27 12:55:10 2017 - INFO | reposync; ['centos6-updates-x86_64']
Fri Apr 28 14:57:09 2017 - DEBUG | REMOTE expiring token; user(<DIRECT>)
Fri Apr 28 14:57:09 2017 - DEBUG | REMOTE expiring token; user(<DIRECT>)
Fri Apr 28 14:57:09 2017 - DEBUG | REMOTE CLI Authorized; user(?)
Fri Apr 28 14:57:09 2017 - INFO | REMOTE start_task(Media import);
event_id(2017
-04-28_145709_import); user(?)
Fri Apr 28 14:57:10 2017 - INFO | import_tree; ['/home/schreian/rsync:/
mirrors.greenmountainaccess.net/centos/6.9/os/x86_64', 'CentOS6.9', None,
None, None]
Fri Apr 28 14:57:10 2017 - INFO | importing from a network location,
running rsy
nc to fetch the files first
Fri Apr 28 14:57:10 2017 - INFO | running: rsync -a
'/home/schreian/rsync:/mirr
ors.greenmountainaccess.net/centos/6.9/os/x86_64/'
/var/www/cobbler/ks_mirror/CentOS6.9-
x86_64 --progress
Fri Apr 28 14:57:10 2017 - INFO | received on stdout: sending incremental
file l
ist
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
Fri Apr 28 14:57:10 2017 - DEBUG | received on stderr: rsync: change_dir
"/home/
schreian/rsync:/mirrors.tripadvisor.com/centos/6.9/os/x86_64" failed:
Permission
denied (13)
rsync error: some files/attrs were not transferred (see previous errors)
(code 2
3) at main.c(1052) [sender=3.0.9]
Fri Apr 28 14:57:10 2017 - INFO | Exception occured: <class
'cobbler.cexceptions
.CX'>
Fri Apr 28 14:57:10 2017 - INFO | Exception value: 'Command failed'
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.
Thanks for any help
Tony Schreiner
6 years, 10 months
Cobbler release 2.8.1
by Jörgen Maas
Hey all,
I just released Cobbler 2.8.1, the first minor bugfix release in the 2.8
stable series.
Feature improvements:
- Signature added for: sles 12sp2
- Signature added for: fedora 26
- Signature added for: ubuntu 17.04
- Signature added for: freebsd 10.3
- Signature added for: freebsd 11.0
- Signature added for: xen server 7.0
- Signature added for: xen server 7.1
Bugfixes:
- Cleanup distro_signatures
- Use $bind_master in secondary.template (#1720)
- Add zonename to metadata in manage_bind (#1700)
- Update cobbler.wsgi to Django >=1.4 API
- Add some input validation to repo configuration (#1741)
- Fix handling of multiple bridge interfaces (#1735)
- Added warnings in kickstart samples (#1737)
- Fix the auto-build when using autodiscovery (#1753)
- logrotate script is not compatible with systemd (#1745)
- Fixes to setup.py so that python setup.py install now works again on
Debian/Ubuntu (#1750)
- Replication now works with Cobbler using non standard ports (#1637)
- Automatically restart named-chroot if needed
- Generalize names for named/dhcpd executables in cobbler check (#1672)
- No more manual symlinks required for Python dist-packages on
Debian/Ubuntu (#1751)
- Code cleanup in kickgen.py, setup.py, etc
- Fixes to cobbler.spec for Fedora systems
- Fixes to several API calls relating to mgmtclass, file and package
- RHEL7 still needs to use the nameserver option
- Master interface now inherits MTU setting from slave interface
- Don't add multiple (bond) slave interfaces to dhcpd.conf
- Grub legacy loaders updated to the latest versions available
- Enable the source tree to be cloned on Windows systems (#1722)
- Minor SuSE AutoYast improvements
Sourcecode:
- https://github.com/cobbler/cobbler/releases/tag/v2.8.1
Because of limited resources the project will no longer be releasing binary
packages.
--
Grtz,
Jörgen Maas
6 years, 10 months
❣nice book
by Nicolo ntonietti
Hi friend!
I've just read a really interesting book, the story is so exciting, you may find it here http://inferior.pibox.us
Nicolo ntonietti
From: cobbler mailing list [mailto:cobbler@lists.fedorahosted.org]
Sent: Monday, May 08, 2017 9:56 PM
To: n.antonietti(a)libero.it
Subject: Strap on.
I didn't wake up at 6 am to watch such an uneventful United game. Shove possession football, that's Barcelona's style, Bayern's style and lately Liverpool's, not United'S. Also without players like Messi, Suarez, Robben these styles don't work which has been clear from the results of these teams without their stars.
Possession when chasing a game shouldn't be looked at as a good thing. A Ferguson team would create more chances in the last 10 mins of a game, than this possession football creates in a whole game.
Finally, rotating teams is vital in the EPL, especially during the Winter schedule. Now to go back to sleep and force a Ferguson era game for a dream.
Sent from Mail for Windows 10
6 years, 10 months
CentOS - cobbler reposync not working?
by Locane
Has anyone ever gotten "cobbler reposync" to work under CentOS 7.3?
I've imported the major Ubuntu distributions, 12, 14, and 16, but I can't
get cobbler to successfully mirror the Ubuntu repo.
I get "waiting for /var/www/cobbler/repo_mirror/Ubuntu-12.04.2-x86_64 lock
since 20 seconds at /usr/share/perl5/vendor_perl/LockFile/Simple.pm line
206." a few times until it times out and crashes.
Has anyone seen this before?
6 years, 10 months