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

[Xen-users] probelm starting domain0: xsnode.py

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Amitayu Das <amitayudas@xxxxxxxxx>
  • Date: Mon, 21 Nov 2005 17:27:12 -0500
  • Delivery-date: Mon, 21 Nov 2005 22:27:21 +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=PiHRn1I96SsXB/3A9hDuiDy/0jfgbSayaOGxLmYKYT+GLuBQfSxZwODvr1vO8AUgBEjKACJalMIlzHURwAZEKjCMpOiiyb6scbLzGJI3OtqrkQ/NF2tNCmNiXHzuvsW4alKC2TgGegpew7yYOp0n7tsGR57KQZQsEldqr+aAanI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


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
$ 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,



:[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__
  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
  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



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