On Mon, Mar 23, 2009 at 8:26 AM, James Cammarata jimi@sngx.net wrote:
On Mon, 23 Mar 2009 07:37:08 -0400, Michael DeHaan mdehaan@redhat.com wrote:
Rodrique Heron wrote:
Hello All-
I am running cobbler-1.4.3-4.el5 on centos 5.2, I have one system defined that causing the web interface of cobbler to display this message when trying to view SYSTEMS.
Please check /var/log/cobbler/*.log and see if you have the remote end of the exception there in the tail of that log. This will tell us more.
--Michael
Mod_python error: "PythonHandler index"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/cobbler/web/index.py", line 130, in handler
content = func( **form )
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 313, in system_list (page, results_per_page, pages) = self.__compute_pagination(page,limit,"system")
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 288, in __compute_pagination total_size = self.remote.get_size(collection_type)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request verbose=self.__verbose
File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in
_parse_response
return u.close()
File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
I tried removing the system from th CLI, but get usage output instead of the system being removed
# cobbler system list nixutil-vm-01
# cobbler system remove nixutil-vm-01
usage:
cobbler system add cobbler system copy cobbler system dumpvars cobbler system edit cobbler system find cobbler system getks cobbler system poweroff cobbler system poweron cobbler system list
cobbler system reboot cobbler system remove cobbler system rename cobbler system report
# cobbler system list nixutil-vm-01
Any ideas?
Thanks
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
You should have --name in there before the name of the system. I don't know if leaving that out used to accidentally work in cobbler, or if it's something that changed, but it's best to try it that way from the CLI.
I was able to delete the system using "cobbler system remove --name=SYSTEMNAME".
I then, tried to add a another system, I filled in the "System Name", uncheck "Netboot Enabled" and select "Profile", then click "Save", "SYNC". Then edit the System just created and change IP assignment form "DHCP" to "Static", entered the IP and Subnet, click "Save" and observer the error I reported earlier via the Web interface.
Please advise..
Thanks