Am 25.01.2012 um 18:25 schrieb Rainer Duffner:
Hello,
I'm still with 2.2.1 (and without RHEL6.2), but now I get this error on cobbler sync:
generating PXE menu structure Exception occured: exceptions.AttributeError Exception value: 'NoneType' object has no attribute 'os_version' Exception Info: File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 93, in run rc = self._run(self) File "/usr/lib/python2.4/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.4/site-packages/cobbler/api.py", line 701, in sync return sync.run() File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 114, in run self.tftpd.sync(self.verbose) File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_in_tftpd.py", line 186, in sync self.pxegen.make_pxe_menu() File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 299, in make_pxe_menu self.make_actual_pxe_menu() File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 396, in make_actual_pxe_menu profile=None, distro=None, arch=image.arch, image=image) File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 582, in write_pxe_file elif distro.os_version.startswith("esxi"):
!!! TASK FAILED !!!
So, after upgrading to what is in git and getting the same error again, I removed the two images I had in the configuration and it started to work again...
At least, I now have the version with FreeBSD-support and can play with that...