Ask Your Question
0

Version 1.9 of InstanceList is not supported

asked 2015-01-08 06:29:47 -0600

kpalania gravatar image

updated 2015-01-08 09:59:11 -0600

I am trying to setup ugin in juno openstack environment (1 controller+network, 2 compute). Every thing works fine except instance creation.

nova list
+--------------------------------------+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+----------+
| f3c7b45c-1da3-4805-affd-5293e5dcfef6 | vm3 | BUILD | scheduling | NOSTATE | |
+--------------------------------------+------+--------+------------+-------------+----------+

nova show f3c7b45c-1da3-4805-affd-5293e5dcfef6
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000003 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2015-01-08T12:17:58Z |
| flavor | m1.tiny (1) |
| hostId | |
| id | f3c7b45c-1da3-4805-affd-5293e5dcfef6 |
| image | Cirros (18477bc3-195b-44e7-868f-53f96e64001b) |
| key_name | - |
| metadata | {} |
| name | vm3 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| status | BUILD |
| tenant_id | d142406f0cdd4365b4bb79bb5a613c91 |
| updated | 2015-01-08T12:18:13Z |
| user_id | 4e41dec968914ce68360598ed43bce29 |
+--------------------------------------+-----------------------------------------------+
I didn't get error status but it is keep on scheduling. I am seeing the below error log from /var/log/nova/nova-compute.log file.
ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager.update_available_resource: Version 1.9 of InstanceList is not supported
Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply incoming.message))

File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args)

File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args)

File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 1043, in object_class_action objver, args, kwargs)

File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 605, in object_class_action objver)

File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 224, in obj_class_from_name supported=latest_ver)

IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2015-04-23 04:34:57 -0600

ElisaE gravatar image

Okay, so since I've been stuck on the same problem for hours now... Does anyone have an answer, other than "db sync" and checking the versions (are both 2.20)? I'm despairing. Thanks in advance!

edit flag offensive delete link more
0

answered 2015-01-09 00:50:29 -0600

This could be because of 2 reasons. 1) Looks like you have different version of nova on controller and compute.

Can you run nova --version controller and then the same on compute?

You should be able to see if your compute nodes are registered with the controller , on the controller, nova-manage service list. 2) You upgraded nova but never upgrade the db schema via nova-manage db sync

You can run nova-manage db sync from the controller, its not harmful. It will update the schema to what the current version of nova is on the controller.

Thanks.

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

2 followers

Stats

Asked: 2015-01-08 06:29:47 -0600

Seen: 1,057 times

Last updated: Jan 09 '15