nova/nova
Matthew Booth 64f6cbc912 Fix incomplete instance data returned after build failure
This change fixes a race in _cleanup_build_artifacts. We were updating
the instance mapping to point at the cell in which the instance was
created before the instance record was complete, i.e. before the related
BDMs and tags were created in the cell DB. Updating the instance mapping
exposes the cell's version of the instance to the API. If the API happened
to fetch it before it was finished being created it would return
incomplete data.

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Closes-Bug: #1820337
Change-Id: If966eb1161c842ff49aa530e4482dbca87b61a3e
2019-03-26 11:04:09 -04:00
..
api Merge "Eventlet monkey patching should be as early as possible" 2019-03-22 22:31:12 +00:00
cells Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cmd Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
common
compute Merge "Set min=0 for block_device_allocate_retries option" 2019-03-25 23:24:28 +00:00
conductor Fix incomplete instance data returned after build failure 2019-03-26 11:04:09 -04:00
conf Merge "Set min=0 for block_device_allocate_retries option" 2019-03-25 23:24:28 +00:00
console Use X-Forwarded-Proto as origin protocol if present 2019-01-16 00:28:53 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Pass kwargs to exception to get better format of error message 2019-03-15 10:42:18 +08:00
hacking Add a hacking rule for deprecated assertion methods 2018-10-25 11:49:10 +09:00
image Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
ipv6
keymgr
locale Imported Translations from Zanata 2019-03-22 06:26:27 +00:00
network Move slight bonkers IP management to privsep. 2019-03-17 23:19:08 +00:00
notifications The field instance_name was added to InstanceCreatePayload 2019-01-15 15:27:07 +00:00
objects Add online data migration for populating user_id 2019-03-08 19:01:41 -05:00
pci Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
policies Trivial: remove unused var from policies.base.py 2019-03-21 21:45:49 +00:00
privsep Merge "Move slight bonkers IP management to privsep." 2019-03-20 13:21:29 +00:00
scheduler Address old TODO in claim_resources_on_destination 2019-03-19 18:32:26 -04:00
servicegroup Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00
tests Fix incomplete instance data returned after build failure 2019-03-26 11:04:09 -04:00
virt Merge "Override the 'get' method in DriverBlockDevice class" 2019-03-26 08:34:03 +00:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Merge "Avoid BadRequest error log on volume attachment" 2019-02-27 05:13:20 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
availability_zones.py
baserpc.py
block_device.py Add method to generate device names universally 2019-01-15 18:55:11 +00:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Remove NovaException logging from scatter_gather_cells 2018-11-21 12:43:35 -05:00
crypto.py
debugger.py
exception.py Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
exception_wrapper.py
filters.py
hooks.py
i18n.py
loadables.py
manager.py
monkey_patch.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
policy.py Fix string interpolations in logging calls 2019-01-29 15:06:39 +09:00
profiler.py
quota.py Merge "quota: remove defaults kwarg in get_project_quotas" 2019-02-26 13:26:24 +00:00
rc_fields.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
rpc.py Fix jsonutils.to_primitive UserWarning 2018-12-17 22:56:50 -05:00
safe_utils.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
service_auth.py
test.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
utils.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py