Inspired by this message, I tried turning off manage_dhcp in my settings
and cobbler sync went from taking upwards of 90 seconds to about 5-10
seconds.
 
I don't use any bonded interfaces, but I do have one or two multihomed
boxes being tracked by cobbler...


________________________________

        From: [email protected]
[mailto:[email protected]] On Behalf Of Chris
Weaver
        Sent: Wednesday, December 31, 2008 9:06 AM
        To: [email protected]
        Subject: Cobbler sync very slow, timing out with multiple
interfaces
        
        
        I am working with the bonded interfaces option for 1.4.  For one
server it works great, I can add two bonded interfaces and a couple of
non-bonded ones.  Everything comes up rosy.
        
        However cobbler sync is taking about 8 seconds when I have one
interface, and about 20 seconds with six.  I add another system with
another 6 interfaces, it takes 3 minutes and times out.  If I delete an
interface from each system, sync takes around 2 minutes but at least it
succeeds.  It is definitely related to dhcp since if I disable that in
settings, sync comes back right away.
        
        This is the error I get (after 3 minutes):
        
        ng00ud01# cobbler sync
        
        join() is too long for a Python string
          File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py",
line 83, in main
            rc = BootCLI().run(sys.argv)
        
          File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py",
line 61, in run
            return self.loader.run(args)
        
          File "/usr/lib/python2.3/site-packages/cobbler/commands.py",
line 122, in run
            return fn.run()
        
          File
"/usr/lib/python2.3/site-packages/cobbler/modules/cli_misc.py", line
183, in run
            return self.api.sync()
        
          File "/usr/lib/python2.3/site-packages/cobbler/api.py", line
523, in sync
            return sync.run()
        
          File
"/usr/lib/python2.3/site-packages/cobbler/action_sync.py", line 101, in
run
            self.dhcp.write_dhcp_file()
        
          File
"/usr/lib/python2.3/site-packages/cobbler/modules/manage_isc.py", line
262, in write_dhcp_file
            self.templar.render(template_data, metadata, settings_file,
None)
        
          File "/usr/lib/python2.3/site-packages/cobbler/templar.py",
line 133, in render
            data_out = data_out.replace("@@%s@@" % str(x),
str(search_table[str(x)]))
        
        
        Any ideas?? TIA...
        
        -- 
        ... Chris Weaver
        

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to