nova/nova
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
..
CA
api Mark max microversion for Pike in history doc 2017-08-08 21:56:19 -04:00
cells Merge "Handle uuids in os-hypervisors API" 2017-07-20 01:03:27 +00:00
cmd Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
common
compute Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
conductor Merge "Instance remains in migrating state forever" 2017-08-01 11:36:08 +00:00
conf Merge "Accept any scheduler driver entrypoint" 2017-08-02 16:57:52 +00:00
console Merge "Avoid false positives of Jinja2 in Bandit scan" 2017-07-19 20:15:34 +00:00
consoleauth conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
db Trivial: Remove unnecessary format specifier 2017-07-07 16:28:16 +05:30
hacking Remove unused variable 2017-06-12 18:19:57 +07:00
image Add service_token for nova-glance interaction 2017-06-07 20:11:06 +00:00
ipv6
keymgr Remove key_manager.api_class hack 2017-07-17 17:49:08 -04:00
locale Imported Translations from Zanata 2017-03-03 10:09:38 +00:00
network no instance info cache update if instance deleted 2017-08-08 11:36:30 -04:00
notifications Add 'updated_at' field to InstancePayload in notifications 2017-07-25 19:31:21 +02:00
objects Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
pci Modify PciPassthroughFilter to accept lists 2017-04-11 19:49:07 +00:00
policies policies: Fix Sphinx issues 2017-08-03 16:06:14 -04:00
scheduler Remove provider allocs in confirm/revert resize 2017-08-09 16:48:33 -04:00
servicegroup Fix the display of updated_at time when using memcache driver. 2017-05-26 16:48:07 +08:00
tests Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
virt Merge "Fix the log information argument mistake" 2017-08-08 22:54:36 +00:00
vnc
volume Translate the return value of attachment_create and _update 2017-07-25 21:16:03 -04:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py db: Add attachment_id to block_device_mapping 2017-03-16 15:26:33 -04:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py
context.py Add scatter gather utilities for cells 2017-06-29 19:41:20 +00:00
crypto.py
debugger.py
exception.py Fix 409 handling in report client when deleting inventory 2017-08-01 17:58:29 -04:00
exception_wrapper.py Remove **kwargs passing in payload __init__ 2017-06-08 08:50:40 +00:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py
profiler.py
quota.py Make Quotas object favor the API database 2017-07-20 21:02:18 +00:00
rpc.py Replace messaging.get_transport with get_rpc_transport 2017-06-05 15:05:29 -04:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Fix comment for API binary name in WSGIService 2017-07-05 11:32:22 -04:00
service_auth.py
test.py Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
utils.py Move the last_bytes util method to libvirt 2017-07-26 08:36:32 +10:00
version.py
weights.py Correct some spelling errors 2017-02-25 02:45:30 +00:00
wsgi.py