nova/nova/tests
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
..
functional Merge "Remove last use of rc_fields" 2019-03-26 11:46:38 +00:00
live_migration/hooks Replace openstack.org git:// URLs with https:// 2019-03-24 20:34:42 +00:00
unit Fix incomplete instance data returned after build failure 2019-03-26 11:04:09 -04:00
__init__.py
fixtures.py Merge "Ensure that bandwidth and VF are from the same PF" 2019-03-06 00:08:02 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00