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
Show replies by date
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Weaver wrote:
| <snip>
| Anyone have any ideas?
Yes, this should be fixed in 1.6.0. I'm starting to think that if you
have too many interfaces attached to a single system, it causes this
error. Either way, it should be fixed now. As a plus, 1.6.0 has better
bonding/dhcp management in that it will actually work as advertised in
the documentation. You should be able to set the proper mac addresses
on the physical interfaces and then set the ip address and dns name on
the bonded interfaces. Hope this helps.
- --
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAknMPuMACgkQZ+CEIfzQ+EqzuACfYCoUbpbDAwxREzt1cn6BM4eD
yBUAnjgfZSm65Uui8ITNGYhr4qZe9D7A
=2R5q
-----END PGP SIGNATURE-----
Yep, fixed. :-D
Now sync is almost instant. Wow.
On Thu, Mar 26, 2009 at 10:50 PM, Scott Henson <shenson(a)redhat.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Weaver wrote:
| <snip>
| Anyone have any ideas?
Yes, this should be fixed in 1.6.0. I'm starting to think that if you
have too many interfaces attached to a single system, it causes this
error. Either way, it should be fixed now. As a plus, 1.6.0 has better
bonding/dhcp management in that it will actually work as advertised in
the documentation. You should be able to set the proper mac addresses
on the physical interfaces and then set the ip address and dns name on
the bonded interfaces. Hope this helps.
- --
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAknMPuMACgkQZ+CEIfzQ+EqzuACfYCoUbpbDAwxREzt1cn6BM4eD
yBUAnjgfZSm65Uui8ITNGYhr4qZe9D7A
=2R5q
-----END PGP SIGNATURE-----
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
--
... Chris Weaver