[Openstack] Failed when I try to start openstack-compute

Li, Chen chen.li at intel.com
Thu Mar 6 06:23:29 UTC 2014


Hi list,

I'm working under CentOS 6.4 + Havana.

When I try to start openstack-compute, I get error in "/var/log/nova/compute.log":
2014-03-06 14:13:59.205 11563 ERROR nova.openstack.common.threadgroup [-] Version 1.9 of Instance is not supported
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 117, in wait
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     x.wait()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 49, in wait
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 166, in wait
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/service.py", line 65, in run_service
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     service.start()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/service.py", line 154, in start
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 775, in init_host
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     context, self.host, expected_attrs=['info_cache'])
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 106, in wrapper
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     args, kwargs)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/conductor/rpcapi.py", line 492, in object_class_action
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     objver=objver, args=args, kwargs=kwargs)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/rpcclient.py", line 85, in call
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return self._invoke(self.proxy.call, ctxt, method, **kwargs)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/rpcclient.py", line 63, in _invoke
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return cast_or_call(ctxt, msg, **self.kwargs)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/proxy.py", line 127, in call
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return self.serializer.deserialize_entity(context, result)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 539, in deserialize_entity
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     entity = NovaObject.obj_from_primitive(entity, context=context)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 265, in obj_from_primitive
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     self._attr_from_primitive(name, objdata[name]))
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 241, in _attr_from_primitive
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     return getattr(self, handler)(value)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 499, in _attr_objects_from_primitive
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     obj = NovaObject.obj_from_primitive(entity, context=self._context)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 259, in obj_from_primitive
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     objclass = cls.obj_class_from_name(objname, objver)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/objects/base.py", line 230, in obj_class_from_name
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup     objver=objver)
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion: Version 1.9 of Instance is not supported
2014-03-06 14:13:59.205 11563 TRACE nova.openstack.common.threadgroup

Anyone know why this happen ?????

Thanks.
-chen


Here is my /etc/nova/nova.conf:
[DEFAULT]
enabled_apis=osapi_compute
auth_strategy=keystone

glance_host=host-glance
glance_port=9292

network_api_class=nova.network.neutronv2.api.API

neutron_url=http://host-neutron:9696
neutron_admin_username=neutron
neutron_admin_password=neutron
neutron_admin_tenant_name=services
neutron_region_name=CIIT
neutron_admin_auth_url=http://host-keystone:5000/v2.0
neutron_auth_strategy=keystone

security_group_api=neutron

rpc_backend=nova.openstack.common.rpc.impl_qpid
qpid_hostname=host-ampq

libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
libvirt_ovs_bridge=br-int

vncserver_listen=0.0.0.0

[hyperv]

[zookeeper]

[osapi_v3]


[conductor]


[keymgr]

[cells]

[database]
connection=mysql://nova:nova@host-db/nova

[image_file_url]

[baremetal]

[rpc_notifier2]

[matchmaker_redis]


[ssl]

[trusted_computing]

[upgrade_levels]

[matchmaker_ring]

[vmware]

[spice]

[keystone_authtoken]
admin_tenant_name=services
admin_user=nova
admin_password=nova
auth_host=host-keystone
auth_port=35357

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/2ef091e4/attachment.html>


More information about the Openstack mailing list