On 07/11/2013 03:18 PM, Orion Poplawski wrote:
I'm running into some issues with the update to 2.4.0 on EL6.
First I seem to have lost some of my profiles. The files are still there in /var/lib/cobbler/profiles.d so I'm not sure what is up.
For the record - this was because I had deleted the kernel and initrd images for these items. I restored them, restarted cobblerd and they were back.
Second, cobbler sync is resulting in the following traceback:
generating /etc/dhcp/dhcpd.conf rendering DNS files Exception occured: <type 'exceptions.KeyError'> Exception value: 'ipv6_address' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 188, in runner return self.remote.api.sync(self.options.get("verbose",False),logger=self.logger) File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 767, in sync return sync.run() File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 137, in run self.dns.write_dns_files() File "/usr/lib/python2.6/site-packages/cobbler/modules/manage_bind.py", line 587, in write_dns_files self.__write_named_conf() File "/usr/lib/python2.6/site-packages/cobbler/modules/manage_bind.py", line 259, in __write_named_conf metadata = {'forward_zones': self.__forward_zones().keys(), File "/usr/lib/python2.6/site-packages/cobbler/modules/manage_bind.py", line 131, in __forward_zones ipv6 = interface["ipv6_address"]
!!! TASK FAILED !!!
I've never made use of ipv6 address here.
This is fixed with commit f2710fbbcc307456d74c8f22abd982f6f21aa409
Thanks James for the help on irc.