which 1.2 is this? I believe that particular error was fixed in 1.2.2 (but still existed in 1.2.1).
Cheers, Harry
Demetri Mouratis wrote:
On Sat, Sep 6, 2008 at 5:16 AM, Harry Hoffman hhoffman@ip-solutions.net wrote:
Hmm, not quite there... running cobbler sync after the upgrade (and moving the new settings file into place):
[root@xen0 cobbler]# cobbler sync
local variable 'elilo' referenced before assignment File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 77, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 57, in run return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 116, in run return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py", line 223, in run return self.api.sync()
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 381, in sync return sync.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 101, in run self.dhcp.write_dhcp_file()
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_isc.py", line 233, in write_dhcp_file metadata = {
Cheers, Harry
Hi,
Similar error here. This is 1.2 running on CentOS 4:
[root@hemops1 ~]# cobbler sync
bootloaders File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 77, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 57, in run return self.loader.run(args)
File "/usr/lib/python2.3/site-packages/cobbler/commands.py", line 113, in run return fn.run()
File "/usr/lib/python2.3/site-packages/cobbler/modules/cli_misc.py", line 223, in run return self.api.sync()
File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 381, 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 157, in write_dhcp_file elilo = os.path.basename(self.settings.bootloaders["ia64"])
File "/usr/lib/python2.3/site-packages/cobbler/settings.py", line 149, in __getattr__ raise AttributeError, name
Also, it seems cobbler check is referring to the old config file in a status message:
[root@hemops1 ~]# cobbler check No setup problems found Manual review and editing of /var/lib/cobbler/settings is recommended to tailor cobbler to your particular configuration. Good luck.
Thanks.
-D _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler