Red Hat Bugzilla – Bug 441215
findks.cgi matching ip_address and mac_address is broken
Last modified: 2009-06-24 14:57:41 EDT
Description of problem:
With the current version of Cobbler, the findks.cgi script does not work,
because the structure of the "system" record has changed. ip_address and
mac_address are no longer top-level keys.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a system in the Cobbler Web UI, and set the MAC address or IP address
of the first interface.
2. Try to kickstart the system with the kickstart URL
Kickstart does not work. If you access the findks.cgi script from your browser,
you see the error message attached as findks-error.txt.
Matching on IP or MAC address should work.
The attached findks.patch fixes this problem.
Created attachment 301478 [details]
error message when accessing findks.cgi in a browser
Created attachment 301479 [details]
patch which fixes IP and MAC address matches
Seeing recent changes to the CC list for this one, please note that cobbler no longer uses any more CGI scripts.
If we need to reinstate similar functionality, we should do it through the mod_python handler -- should be easy enough to do.
Open up an email to cobbler list if you are interested and I can offer some tips in terms of patching this... otherwise, will be pushed back a bit in the queue.