Ask Your Question
1

juno nova-compute.log: IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported

asked 2015-01-13 13:38:47 -0500

tkettune gravatar image

updated 2015-01-13 16:53:01 -0500

This is fresh Juno install on Ubuntu.

Seeing

IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported

in /var/log/nova/nova-compute.log:

2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     incoming.message))
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     return self._do_dispatch(endpoint, method, ctxt, args)
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     result = getattr(endpoint, method)(ctxt, **new_args)
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 1043, in object_class_action
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     objver, args, kwargs)
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 605, in object_class_action
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     objver)
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 224, in obj_class_from_name
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup     supported=latest_ver)
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup 
2015-01-13 11:09:23.302 3218 TRACE nova.openstack.common.threadgroup

Compute node:

root@os2-nova02:~# 
root@os2-nova02:~# nova-manage db version
254
root@os2-nova02:~# 
root@os2-nova02:~# 
root@os2-nova02:~# nova --version
2.19.0
root@os2-nova02:~# 
root@os2-nova02:~#  nova-manage --version
2014.2.1
root@os2-nova02:~# 
root@os2-nova02:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
root@os2-nova02:~# 
root@os2-nova02:~# uname -a
Linux os2-nova02 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@os2-nova02:~# 
root@os2-nova02:~# 
root@os2-nova02:~# dpkg -l |grep nova
ii  nova-api-metadata                   1:2014.2.1-0ubuntu1~cloud0          all          OpenStack Compute - metadata ...
(more)
edit retag flag offensive close merge delete

Comments

I had the same error when the Controller Node and the Compute Nodes were running slightly different versions of Havana. As update of all the controller and compute nodes to a consistent level of software did resolve the problem.

Poonam Agarwal gravatar imagePoonam Agarwal ( 2015-01-14 08:55:59 -0500 )edit

Hi Poonam,

When you say "were running slightly different versions of Havana" what packages upgrade in particular resolved your issue?

Also is there a simple way to list every OpenStack modules versions from command line?

tkettune gravatar imagetkettune ( 2015-01-14 11:30:04 -0500 )edit

Assuming you already have controller and compute nodes installed, an apt-get update followed by an apt-get upgrade would automatically update the relevant cloud packages from the ubuntu cloud archive. The cloud packages are a part of the cloud archive repo for ur distibution ( cloud-archive:havana )

Poonam Agarwal gravatar imagePoonam Agarwal ( 2015-01-15 10:14:16 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-15 00:51:12 -0500

Hey there, even we encountered the same problem, but couldn't exactly figure out the cause. Have you done installation through devstack? if so, then try ./unstack.sh followed by stack.sh. Doing this solved our problem, if you are able find any other solution, then do post here.

edit flag offensive delete link more

Comments

hey this link http://docs.openstack.org/cli-referen... would give you clear idea of using OpenStack commands.

Yashpal Beppurana gravatar imageYashpal Beppurana ( 2015-01-15 01:52:54 -0500 )edit

I'm using Ubuntu 14.04.1 LTS (not devstack) so there is no option for "unstacking" in my environment.

Still looking for solution for this...

tkettune gravatar imagetkettune ( 2015-02-05 13:27:51 -0500 )edit

Hey hi, as per the OpenStack documentation-- each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation.

Yashpal Beppurana gravatar imageYashpal Beppurana ( 2015-02-06 12:53:39 -0500 )edit

My suggestion for you is,

  1. If possible, try to upgrade/downgrade the versions of nova services.
  2. Try to sync database version with nova services.
Yashpal Beppurana gravatar imageYashpal Beppurana ( 2015-02-06 12:54:40 -0500 )edit

Thanks for your input.

  1. What is the preferred way to downgrade versions of nova services?

  2. Running "nova-manage db sync" does not help resolving this issue.

tkettune gravatar imagetkettune ( 2015-02-06 14:29:34 -0500 )edit
0

answered 2015-03-16 16:19:18 -0500

tkettune gravatar image

While this may not be "definitive resolution/answer" to this I resolved the issue by re-installing juno openstack on Ubuntu trusty LTS from scratch.

edit flag offensive delete link more
0

answered 2015-04-22 09:23:55 -0500

CRC gravatar image

How do you bring the versions together if compute and controller use different distros: -compute: fedora - 2.20 nova -controller: ubuntu - 1.17 nova ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-01-13 13:38:47 -0500

Seen: 1,317 times

Last updated: Mar 16 '15