Ask Your Question
1

Is it possible to upgrade nova-compute first?

asked 2020-08-24 15:09:03 -0500

Igor Raits gravatar image

Hello,

In our environment we still have everywhere OpenStack Train and now trying to upgrade to Ussuri release. We want to start with physical servers first so that we can test whatever is running on VMs first, before upgrading OpenStack control plane.

However, it seems that it is not really possible. I've set compute=train for [upgrade_levels] both on VM that hosts nova services (API, placement, etc.) and on server where I'm trying to use Ussuri.

During the deployment of the VM I see:

2020-08-24 21:33:22.112 9849 ERROR oslo_messaging.rpc.server IncompatibleObjectVersion: Version 1.4 of InstanceActionEvent is not supported, supported version is 1.3

Does it mean that I simply should update openstack service nodes first and only after that servers or I miss some setting in configuration or it is a bug?

Thank you in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-08-25 01:26:29 -0500

eblock gravatar image

You already answered your own question, you have to upgrade controller services before you can upgrade compute nodes. Regarding the version mismatch in your case it might be resolved by adjusting upgrade levels, it reads:

During an upgrade, operators can add configuration options to nova.conf which lock the version of RPC messages and allow live upgrading of the services without interruption caused by version mismatch. The configuration options allow the specification of RPC version numbers if desired, but release name alias are also supported. For example:

[upgrade_levels]
compute=X+1
conductor=X+1
scheduler=X+1

I haven't used these upgrade_levels myself, so I'm not sure if it will work. But for the upgrade order this doc illustrates it quite well.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-08-24 15:09:03 -0500

Seen: 94 times

Last updated: Aug 25 '20