openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18773
Citrix Xen Server + XenApi Failed to start nova-compute service
Hi All,
I am tring install the openstack with Xen Server following the guide of
http://wiki.openstack.org/XenServer/XenXCPAndXenServer. But I run into
error when start the nova-compute service . Here is the error message. Who
can figure out why it happended and how to fix this issue.
*Error Message*
root@ubuntu:/etc/nova# nova-compute
2012-11-21 01:33:47 CRITICAL nova [-] 'get_connection'
2012-11-21 01:33:47 TRACE nova Traceback (most recent call last):
2012-11-21 01:33:47 TRACE nova File "/usr/bin/nova-compute", line 47, in
2012-11-21 01:33:47 TRACE nova server =
service.Service.create(binary='nova-compute')
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 241, in
create
2012-11-21 01:33:47 TRACE nova report_interval, periodic_interval)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 150, in
__init__
2012-11-21 01:33:47 TRACE nova self.manager =
manager_class(host=self.host, *args, **kwargs)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 204,
in __init__
2012-11-21 01:33:47 TRACE nova utils.import_object(compute_driver),
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/utils.py", line 89, in
import_object
2012-11-21 01:33:47 TRACE nova return cls()
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/virt/connection.py", line 76,
in get_connection
2012-11-21 01:33:47 TRACE nova conn = xenapi_conn.get_connection(read_only)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 144,
in get_connection
2012-11-21 01:33:47 TRACE nova return XenAPIConnection(url,
username, password)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 157,
in __init__
2012-11-21 01:33:47 TRACE nova self._vmops =
vmops.VMOps(self._session, self._product_version)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
160, in __init__
2012-11-21 01:33:47 TRACE nova self.firewall_driver =
fw_class(xenapi_session=self._session)
2012-11-21 01:33:47 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line
227, in __init__
2012-11-21 01:33:47 TRACE nova self.nwfilter =
NWFilterFirewall(kwargs['get_connection'])
2012-11-21 01:33:47 TRACE nova KeyError: 'get_connection'
2012-11-21 01:33:47 TRACE nova
*nova.conf*
connection_type=xenapi
xenapi_connection_password=*******
xenapi_connection_url=http://192.168.0.98
xenapi_connection_username=root
--
Lei Zhang
Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l
Follow ups