[et-mgmt-tools] Cobbler check backtrace

Tom Diehl tdiehl at rogueind.com
Wed Aug 8 05:09:19 UTC 2007


Hi,

I just upgraded to cobbler-0.5.1-1. When I run cobbler check I get the following
backtrace:

(rocky pts13) # cobbler check
Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 724, in main
     BootCLI(sys.argv).run()
   File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 115, in run
     self.relay_args(self.args[1:], self.commands['toplevel'])
   File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 550, in relay_args
     commands[args[0]](args[1:])
   File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 587, in check
     status = self.api.check()
   File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 118, in check
     return check.run()
   File "/usr/lib/python2.3/site-packages/cobbler/action_check.py", line 51, in run
     self.check_tftpd_conf(status)
   File "/usr/lib/python2.3/site-packages/cobbler/action_check.py", line 129, in check_tftpd_conf
     status.append(_("change 'server_args' to '-s %(args)' in %(file)s") % { "file" : self.settings.tftpboot, "args" : self.settings.tftpboot })
ValueError: unsupported format character ''' (0x27) at index 35
(rocky pts13) #

It would appear that this is caused by the following line in my settings file:

ftpboot: /tftpboot/pxe

I know that adding the pxe dir in the above path is wrong as far as cobbler
check is concerned but other than complaining about it cobbler never backtraced
with the previous version[1]. For my particular setup the ftpboot path is correct.

FWIW This machine is running EL4.

Should I put this in bugzilla?

Regards,

Tom

1. "previous version" in this case == cobbler-0.3.3-1




More information about the et-mgmt-tools mailing list