Hi,
Sorry for the my incomplete mail to the mailing-list which was sent by
mistake.
Here is the completed version of the mail.......
I compiled source code for Xen-unstable on FC4 and tried to boot the machine
with xen-3.0-devel.gz. Although, the machine boots fine, I face the
following error when starting xend:
$ sudo /etc/init.d/xend start
Password:
$ Exception starting xend: function takes exactly 2 arguments (1 given)
/var/log/xend.log output is pasted at the end of the mail. What is confusing
is that in /usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py,
there are the following code:
216 def ls(self, path="/"):
217 return self.getxs().ls(path)
... # other code
240 def exists(self, path):
241 try:
242 self.getxs().ls(path)
243 return True
244 except RuntimeError, ex:
245 if ex.args[0] == errno.ENOENT:
246 return False
247 else:
248 raise
... #other code
Can you notice that at line no. 217 and 242, exactly same call is being
made? I''m not sure if I''m missing something. Can anyone kindly
clarify and
tell me how to get rid of the aforementioned problem?
Thanks for your cooperation,
Sincerely,
Amitayu
OUTPUT FROM THE XEND.LOG IS PASTED BELOW:
:[2005-11-21 15:52:24 xend] INFO (SrvDaemon:296) Xend Daemon started
[2005-11-21 15:52:25 xend] ERROR (SrvDaemon:306) Exception starting xend
(function takes exactly 2 arguments (1 given))
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line
299, in run
servers = SrvServer.create()
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py",
line
75, in create
root.putChild(''xend'', SrvRoot())
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py",
line 41,
in __init__
self.get(name)
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in
get
val = val.getobj()
File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in
getobj
self.obj = klassobj()
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 38, in __init__
self.xd = XendDomain.instance()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
772, in
instance
inst = XendDomain()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
68, in
__init__
self.dbmap = DBMap(db=XenNode("/domain"))
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
402, in __init__
self.store = getXenStore()
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
387, in getXenStore
xenstore = XenStore()
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
166, in __init__
self.write("/", "")
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
275, in write
self.mkdirs(path)
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
252, in mkdirs
if self.exists(path):
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
242, in exists
self.ls(path) # Amitayu added this
File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py",
line
217, in ls
return self.getxs().ls(path)
TypeError: function takes exactly 2 arguments (1 given)
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users