ironic/ironic/tests/unit
Grzegorz Grasza 9bc06783ec Add RPC and object version pinning
To support rolling upgrades, capping of RPC communication and Ironic
objects is required. Old RPC services and objects may still be running
while an upgrade is in progress. This makes sure that these old
services are called and all objects are used in a supported RPC and
objects version.

This patch adds the configuration option "pin_release_version". Setting
this option caps (downgrades) the internal RPC communication to the
specified version to enable communication with older services. When
doing a rolling upgrade from version X to Y, set this to X. It defaults
to using the newest (current) possible RPC behavior and object versions.

Change-Id: Ie2342d4051f85392a8b10d39ebffc287da57bf2b
Partial-Bug: #1526283
Co-Authored-By: Szymon Borkowski <szymon.borkowski@intel.com>
Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
2017-03-24 02:05:02 +00:00
..
api Merge "Fix usage of various deprecated methods" 2017-03-20 18:18:21 +00:00
cmd Prepare for functional testing 2015-09-28 21:27:01 +00:00
common Add RPC and object version pinning 2017-03-24 02:05:02 +00:00
conductor Add RPC and object version pinning 2017-03-24 02:05:02 +00:00
conf Migrate to using keystoneauth Sessions 2016-08-03 11:24:21 -07:00
db Speed up test_touch_conductor_deadlock() 2017-03-13 21:00:39 +00:00
dhcp Use delay configoption for ssh.SSHPower drivers 2017-02-01 17:33:58 +00:00
drivers Merge "Validation before perform node deallocation" 2017-03-20 20:05:27 +00:00
objects Add RPC and object version pinning 2017-03-24 02:05:02 +00:00
__init__.py Support defining and loading hardware types 2016-12-14 18:50:52 +01:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py RAID interface to support JBOD volumes 2016-05-04 14:28:48 +00:00
stubs.py Prepare for functional testing 2015-09-28 21:27:01 +00:00