[Spacewalk-list] Trouble with Cobbler Sync failing

Ryan Clough ryan.clough at dsic.com
Fri Aug 7 02:38:50 UTC 2015


Thank you for your help. Here are the answers to your questions.

Output of "cobbler sync":
[root at eris ~]# cobbler sync
task started: 2015-08-06_193415_sync
task started (id=Sync, time=Thu Aug  6 19:34:15 2015)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/sl65-x86_64:2:DSIC-Poway
removing: /var/www/cobbler/images/sl7-x86_64:2:DSIC-Poway
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/grub/efidefault
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/images/sl65-x86_64:2:DSIC-Poway
removing: /var/lib/tftpboot/images/sl7-x86_64:2:DSIC-Poway
removing: /var/lib/tftpboot/s390x/profile_list
copying bootloaders
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot
copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk
copying: /var/lib/cobbler/loaders/grub-x86.efi ->
/var/lib/tftpboot/grub/grub-x86.efi
copying: /var/lib/cobbler/loaders/grub-x86_64.efi ->
/var/lib/tftpboot/grub/grub-x86_64.efi
copying distros to tftpboot
copying files for distro: sl65-x86_64:2:DSIC-Poway
trying hardlink
/var/satellite/ScientificLinux6-x86_64/images/pxeboot/vmlinuz ->
/var/lib/tftpboot/images/sl65-x86_64:2:DSIC-Poway/vmlinuz
trying hardlink
/var/satellite/ScientificLinux6-x86_64/images/pxeboot/initrd.img ->
/var/lib/tftpboot/images/sl65-x86_64:2:DSIC-Poway/initrd.img
copying files for distro: sl7-x86_64:2:DSIC-Poway
trying hardlink
/var/satellite/ScientificLinux7-x86_64/images/pxeboot/vmlinuz ->
/var/lib/tftpboot/images/sl7-x86_64:2:DSIC-Poway/vmlinuz
trying hardlink
/var/satellite/ScientificLinux7-x86_64/images/pxeboot/initrd.img ->
/var/lib/tftpboot/images/sl7-x86_64:2:DSIC-Poway/initrd.img
copying images
generating PXE configuration files
generating PXE menu structure
copying files for distro: sl65-x86_64:2:DSIC-Poway
trying hardlink
/var/satellite/ScientificLinux6-x86_64/images/pxeboot/vmlinuz ->
/var/www/cobbler/images/sl65-x86_64:2:DSIC-Poway/vmlinuz
trying hardlink
/var/satellite/ScientificLinux6-x86_64/images/pxeboot/initrd.img ->
/var/www/cobbler/images/sl65-x86_64:2:DSIC-Poway/initrd.img
Writing template files for sl65-x86_64:2:DSIC-Poway
copying files for distro: sl7-x86_64:2:DSIC-Poway
trying hardlink
/var/satellite/ScientificLinux7-x86_64/images/pxeboot/vmlinuz ->
/var/www/cobbler/images/sl7-x86_64:2:DSIC-Poway/vmlinuz
trying hardlink
/var/satellite/ScientificLinux7-x86_64/images/pxeboot/initrd.img ->
/var/www/cobbler/images/sl7-x86_64:2:DSIC-Poway/initrd.img
Writing template files for sl7-x86_64:2:DSIC-Poway
rendering TFTPD files
generating /etc/xinetd.d/tftp
processing boot_files for distro: sl65-x86_64:2:DSIC-Poway
processing boot_files for distro: sl7-x86_64:2:DSIC-Poway
cleaning link caches
running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f
-links 1 -exec rm -f '{}' ';'
received on stdout:
received on stderr:
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running shell triggers from /var/lib/cobbler/triggers/sync/post/*
running python triggers from /var/lib/cobbler/triggers/change/*
running python trigger cobbler.modules.scm_track
running shell triggers from /var/lib/cobbler/triggers/change/*
*** TASK COMPLETE ***

Output of "cobbler check":
[root at eris ~]# cobbler check
The following are potential configuration items that you may want to fix:

1 : SELinux is enabled. Please review the following wiki page for details
on ensuring cobbler works correctly in your SELinux environment:
    https://github.com/cobbler/cobbler/wiki/Selinux
2 : since iptables may be running, ensure 69, 80/443, and 25151 are
unblocked
3 : debmirror package is not installed, it will be required to manage
debian deployments and repositories
4 : fencing tools were not found, and are required to use the (optional)
power management features. install cman or fence-agents to use them

Restart cobblerd and then run 'cobbler sync' to apply changes.


SELinux is in Permissive mode:
[root at eris ~]# getenforce
Permissive

___________________________________________
¯\_(ツ)_/¯
Ryan Clough
Information Systems
Decision Sciences International Corporation
<http://www.decisionsciencescorp.com/>
<http://www.decisionsciencescorp.com/>

On Thu, Aug 6, 2015 at 7:08 PM, Infused W JC <infuse1301 at gmail.com> wrote:

> what is the output of:
> cobbler sync
> what about:
> cobbler check
> Is SELinux on?  If so, what level?
> do:
> getenforce
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

-- 
This email and its contents are confidential. If you are not the intended 
recipient, please do not disclose or use the information within this email 
or its attachments. If you have received this email in error, please report 
the error to the sender by return email and delete this communication from 
your records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150806/1361de0a/attachment.htm>


More information about the Spacewalk-list mailing list