nova/nova/conductor
Hans Lindgren a54c4f51e7 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
(cherry picked from commit 1e3e730999)
2016-10-17 07:38:22 +00:00
..
tasks Stop providing force_hosts to the scheduler for move ops 2016-03-25 20:35:28 +00:00
__init__.py Config options: centralize options in conductor api 2016-02-09 14:06:51 +00:00
api.py Fix conductor to *really* pass the Spec obj 2016-02-24 10:20:32 +01:00
manager.py Do not try to backport when db has older object version 2016-10-17 07:38:22 +00:00
rpcapi.py Unshelve using the RequestSpec object 2016-02-18 19:22:32 +01:00