[et-mgmt-tools] Xen System builds using Koan
Hennessey Daniel
Daniel.Hennessey at aah.co.uk
Wed Aug 29 16:18:17 UTC 2007
In my uneducated opinion it looks like you are unable to make a
connection to your cobbler server ("hydra") on port 25151.
HTH
Cheers
Dan
-----Original Message-----
From: et-mgmt-tools-bounces at redhat.com
[mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Jason Hartley
Sent: 25 August 2007 01:52
To: et-mgmt-tools at redhat.com
Subject: [et-mgmt-tools] Xen System builds using Koan
First off, I really like the design of Cobbler and Koan. I especially
like the kickstart templates and the flexibility that the templates give
you. The only problem is that I am having trouble with the issue below
and would appreciate any kind of help.
I have a Centos 5 system that I have setup as a Xen host. I have setup
the EPEL repository and used it to install Cobbler version 0.4.8-1,along
with koan 0.4.0-1. I have successfully used the tutorial at
http://cobbler.et.redhat.com/cobbler-import.php with a few modifications
to build a Xen guest using the default profile for Centos 5 that is
created when you import from the Centos 5 DVD. When I attempt to build
from a system definition that I have built from the default profile I
get the below error. I have started to dig through the code, but would
like some direction in debugging the problem and maybe a push in the
right direction on what might be wrong.
[root at hydra ~]# koan --server=hydra --system=sirrush --virt
- fetching configuration for system: (sirrush)
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koan/app.py", line 468, in
get_profile_xmlrpc
return self.xmlrpc_server.get_profile_for_koan(profile_name)
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.AttributeError:'NoneType' object has no
attribute 'startswith'">
File "/usr/bin/koan", line 38, in ?
sys.exit(app.main() or 0)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 108, in
main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 175, in run
self.do_virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 306, in
do_virt
return self.do_net_install("/var/lib/xen",after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 266, in
do_net_install
profile_data = self.get_system_xmlrpc(self.system)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 538, in
get_system_xmlrpc
profile_data =
self.get_profile_xmlrpc(self.safe_load(system_data,'profile'))
File "/usr/lib/python2.4/site-packages/koan/app.py", line 471, in
get_profile_xmlrpc
self.connect_fail()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 454, in
connect_fail
print self.trace_me()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 449, in
trace_me
x = traceback.extract_stack()
Could not communicate with hydra:25151
[root at hydra ~]#
Thanks,
Jason
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools at redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
************************************************************************
DISCLAIMER
The information contained in this e-mail is confidential and is intended
for the recipient only.
If you have received it in error, please notify us immediately by reply
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium.
The views contained in this e-mail are those of the author and not
necessarily those of Admenta UK Group.
Admenta UK plc is a company incorporated in England and Wales
under company number 3011757 and whose registered office
is at Sapphire Court, Walsgrave Triangle, Coventry CV2 2TX
************************************************************************
More information about the et-mgmt-tools
mailing list