WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Exception starting xend ('NoneType' object has no attribute 'rfind')
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Exception starting xend ('NoneType' object has no attribute 'rfind'), James Harper <=