Michael DeHaan wrote: > Chris Weaver wrote: > >> Hi Michael, >> >> In response to your response below: I do not have omapi enabled. >> >> I tried removing every parameter from the bond interfaces, so the only >> thing left was the interface field (named "bond0" and "bond1" for the >> two interfaces). This made no difference, sync still timed out. So >> it doesn't look like a problem with settings. >> >> The only thing that works is removing all of the bond interfaces >> entirely. So I have a workaround: I wrote a script that removes all >> the bond interfaces from every server, then I run cobbler sync, then I >> add all the bond interfaces back. This works but is obviously not a >> great solution. >> >> Also, the sync (without the bond interfaces) takes over 2 minutes. It >> was taking around 24 seconds before, but I'm not sure what I changed >> in the meantime, if anything. >> >> >> > > I'll play around with it and let you know what I find out. Thanks! > > --Michael > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
By any chance do you have selinux enabled? (Enforcing or permissive doesn't matter, I mean, is it enabled?) The whole bonding angle could be unrelated to the problem, the actual problem just being that invoking restorecon on a file-by-file basis is horribly slow and we instead need to invoke it more intelligently. (Probably through the SELinux APIs). restorecon is it's own Python process. While Python is perfectly speedy for systems management work in most cases, firing up a new interpreter periodically is not. Can you turn SELinux off temporarily and see if sync gets noticeably faster? (In terms of "as fast as it used to be?"). --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
