You may recall me posting this issue this late last year.  I was never
able to resolve this problem and I kept thinking "next release, next
release" but sadly it was not to be.  I'm on 1.4.3 now and it's still
here.

Here's the issue again:  cobbler sync is timing out when I have bonded
interfaces.  I have 9 systems, each has 1 bonded interface with a VLAN
interface on top of it, and then a second bonded interface, and all
but 3 have a third bonded interface.  When I do a cobbler sync, after
5 minutes 22 seconds it times out with:

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 186, in run
    return self.api.sync(verbose=self.options.verbose)

  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
128, 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
134, in render
    data_out = data_out.replace("@@%s@@" % str(x), str(search_table[str(x)]))



My workaround has been (and still is) to remove all the bond and VLAN
interfaces before the sync, then re-add them afterward.  When I do
this, the sync is pretty quick.

At one point Michael had suggested turning off omapi -- but it is off,
and always has been.  FYI I'm on RHEL 4.6.

Anyone have any ideas?


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

Reply via email to