nova/nova/tests
Dan Smith ddef9dcfc0 Resource tracker compatibility with Ocata and Pike
Because we need to allow for a smooth upgrade from Ocata to
Pike, we need Pike compute hosts to be tolerant of the bad accounting
assumptions that Ocata compute hosts were making. If a user migrates an
instance from an Ocata compute host to a Pike compute host, the Ocata
compute host will continue essentially re-setting the instance
allocation to be an allocation against only the source Ocata host
(during the migration operation). We need to have the Pike destination
compute host recognize when its in a mixed Ocata/Pike environment and
tolerate this incorrect "healing" that the Ocata source host will do.
To tolerate this, the Pike destination compute host must continue to
behave like an Ocata compute host until all compute hosts are upgraded
to Pike or beyond.

Note that this adds service version caching for the compute service.
We were already doing the lookup for the RPC pin and caching that,
so this is not much of a change. Also note that we weren't clearing
this caching in tests, so any test that ran code that cached the
service version would affect later ones. This clears it as part of the
base test setup too.

Co-Authored-By: Jay Pipes <jaypipes@gmail.com>
Change-Id: Ia93168b1560267178059284186fb2b7096c7e81f
2017-08-10 09:47:20 -04:00
..
functional Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
live_migration/hooks nfs fix for xenial images 2017-06-07 21:04:45 +00:00
unit Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
__init__.py
fixtures.py Merge "Use wsgi-intercept in OSAPIFixture" 2017-08-07 22:00:53 +00:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30