[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem stating xen0: xsnode.py


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Amitayu Das <amitayudas@xxxxxxxxx>
  • Date: Mon, 21 Nov 2005 16:07:33 -0500
  • Delivery-date: Mon, 21 Nov 2005 21:08:02 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mM8f6D0KDbChbAwl9hNY1PzYM9F0GytAbXhOZ0iFbY8dLtTroIFMzKs6r3bGT+OxJxIdIwOmmBA+EyrFFoMIy8C/kIARBtRLR8znPZnZWXWMh4cYTvUSH6QXaFeyWwcxMBDkG3GdkYWxVdmw41MM9hFidRMsrsyN1lMG2Xd5D4A=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

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 /usr/sbin/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.ls(path) # Amitayu added this
    243 #            self.getxs().ls(path)
    244             return True
    245         except RuntimeError, ex:
    246             if ex.args[0] == errno.ENOENT:
    247                 return False
    248             else:
    249                 raise

 
   







:[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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.