Reviewed: https://review.openstack.org/335629 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1e3e7309997f90fbd0291c05cc859dd9ac0ef161 Submitter: Jenkins Branch: master
commit 1e3e7309997f90fbd0291c05cc859dd9ac0ef161 Author: Hans Lindgren <[email protected]> Date: Wed Jun 29 20:29:47 2016 +0200 Do not try to backport when db has older object version Instance extras are stored as serialized objects in the database and because of this it is possible to get a version back that is older than what the client requested. This is in itself not a problem, but the way we do things right now in conductor we end up trying to backport to a newer version, which raises InvalidTargetVersion. This change adds a check to make sure we skip backporting if the requested version is newer than the actual db version as long as the major version is the same. Change-Id: I34ac0abd016b72d585f83ae2ce34790751082180 Closes-Bug: #1596119 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1596119 Title: Can't delete instance with numa_topology after upgrading from kilo Status in OpenStack Compute (nova): Fix Released Bug description: Using the RDO Kilo version of Nova (2015.1.0-3) with dedicated cpu pinning populates the numa_topology database field with data at "nova_object.version": "1.1". After upgrading to Liberty a new instance will be created with a 1.2 object version however already existing instances created under Kilo remain at 1.1. Attempting to do many actions on these instances (start, delete) will fail with the following error: RemoteError: Remote error: InvalidTargetVersion Invalid target version 1.2. Updating from Kilo to Mitaka produces the same problem. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1596119/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

