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

[Xen-devel] Exception starting xend ('NoneType' object has no attribute 'rfind')


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Wed, 10 Mar 2010 16:50:40 +1100
  • Delivery-date: Tue, 09 Mar 2010 21:51:21 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcrAFZ1bM/mvHc7+T8Kc8Rn1x4og5Q==
  • Thread-topic: Exception starting xend ('NoneType' object has no attribute 'rfind')

If I turn on xend-tcp-xmlrpc-server then I get this on starting xend:

[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call:
session.get_all_records not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call:
event.get_record not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call: event.get_all
not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call:
VIF.set_device not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call: VIF.set_MAC
not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call: VIF.set_MTU
not found
[2010-03-10 16:40:47 4044] WARNING (XendAPI:705) API call: debug.get_all
not found
[2010-03-10 16:40:47 4044] ERROR (SrvDaemon:349) Exception starting xend
('NoneType' object has no attribute 'rfind')
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py",
line 341, in run
    servers = SrvServer.create()
  File "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py",
line 253, in create
    _loadConfig(servers, root, False)
  File "usr/lib/python2.5/site-packages/xen/xend/server/SrvServer.py",
line 233, in _loadConfig
    ssl_key_file = xoptions.get_xend_tcp_xmlrpc_server_ssl_key_file()
  File "usr/lib/python2.5/site-packages/xen/xend/XendOptions.py", line
210, in get_xend_tcp_xmlrpc_server_ssl_key_file
    if os.path.dirname(file) == "":
  File "/usr/lib/python2.5/posixpath.py", line 119, in dirname
    return split(p)[0]
  File "/usr/lib/python2.5/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
[2010-03-10 16:40:47 4040] INFO (SrvDaemon:220) Xend exited with status
1.

It seems it assumes that because xend-tcp-xmlrpc-server is on, ssl is
enabled too (it's not).

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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