cobbler/cobbler — Issue #61: Exception value: global name 'out_path' is not defined
Author: nonolol
Created: 2012-02-04 02:30:49+00:00
State: open

cobbler version: Cobbler 2.3.1
run # cobbler sync command has this error
please tell me how to fix the issue,Thanks

rendering DHCP files
generating /etc/dhcpd.conf
Exception occured: exceptions.NameError
Exception value: global name 'out_path' is not defined
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 89, in run
rc = self._run(self)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 184, 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 132, in run
self.dhcp.write_dhcp_file()
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_isc.py", line 194, in write_dhcp_file
self.templar.render(template_data, metadata, self.settings_file, None)
File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 113, in render
data_out = self.render_cheetah(raw_data, search_table, subject)
File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 209, in render_cheetah
if out_path is None:

!!! TASK FAILED !!!