[Spacewalk-list] help with Cobbler

InfusedWChrist infuse1301 at gmail.com
Sun Jul 19 19:30:23 UTC 2015


I have done the following:
The following are potential configuration items that you may want to fix:
1 : you need to set some SELinux content rules to ensure cobbler serves
content correctly in your SELinux environment, run the following:
# /usr/sbin/semanage fcontext -a -t public_content_t "/var/lib/tftpboot/.*"
# /usr/sbin/semanage fcontext -a -t public_content_t
"/var/www/cobbler/images/.*"
2 : you need to set some SELinux rules if you want to use cobbler-web (an
optional package), run the following:
# /usr/sbin/semanage fcontext -a -t httpd_sys_content_rw_t
"/var/lib/cobbler/webui_sessions/.*"
3 : some network boot-loaders are missing from /var/lib/cobbler/loaders,
you may run 'yum install cobbler-loaders' to download them, or, if you only
want to handle x86/x86_64 netbooting, you may ensure that you have
installed a *recent* version of the syslinux package installed and can
ignore this message entirely.  Files in this directory, should you want to
support all architectures, should include pxelinux.0, menu.c32, elilo.efi,
and yaboot. The 'yum install cobbler-loaders' command is the easiest way to
resolve these requirements.
# rpm -qa|grep -i cobbler
cobbler-loaders-1.0.3-1.el6.noarch
cobbler20-2.0.11-42.el6.noarch
cobbler2-2.0.11-42.el6.noarch
4 : debmirror package is not installed, it will be required to manage
debian deployments and repositories
Did nothing here
Restart cobblerd and then run 'cobbler sync' to apply changes.
# service cobblerd restart
Stopping cobbler daemon:                                   [  OK  ]
Starting cobbler daemon:                                   [  OK  ]
# cobbler sync
task started: 2015-07-19_151841_sync
task started (id=Sync, time=Sun Jul 19 15:18:41 2015)
running pre-sync triggers
cleaning trees
removing: /var/lib/tftpboot/grub/images
copying bootloaders
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Could not find files matching
/usr/lib/syslinux/pxelinux.0'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 185, in
runner
    return
self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 611, in sync
    return sync.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line
113, in run
    self.pxegen.copy_bootloaders()
   File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 101, in
copy_bootloaders
    dst, api=self.api, cache=False, logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1175, in
copyfile_pattern
    raise CX(_("Could not find files matching %s") % pattern)
!!! TASK FAILED !!!
# rpm -qa|grep syslinux
syslinux-4.04-3.el6.x86_64
syslinux-nonlinux-4.04-3.el6.noarch

Please help what am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150719/a024091b/attachment.htm>


More information about the Spacewalk-list mailing list