nova/nova/tests
Matt Riedemann 3f37d0bba4 Add functional regression test for bug 1806064
Change I9269ffa2b80e48db96c622d0dc0817738854f602 in Pike
introduced a race condition where creating multiple
servers concurrently can fail the second instances quota
check which happens in conductor after the instance record
is created in the cell database but its related BDMs and
tags are not stored in the cell DB. When deleting the
server from the API, since the BDMs are not in the cell
database with the instance, they are not "seen" and thus
the volume attachments are not deleted and the volume is
orphaned. As for tags, you should be able to see the tags
on the server in ERROR status from the API before deleting
it.

This change adds a functional regression test to show both
the volume attachment and tag issue when we fail the quota
check in conductor.

Change-Id: I21c2189cc1de6b8e4857de77acd9f1ef8b6ea9f6
Related-Bug: #1806064
(cherry picked from commit 5d514b33e2)
(cherry picked from commit 5b7e904126)
2018-12-09 11:38:45 +00:00
..
functional Add functional regression test for bug 1806064 2018-12-09 11:38:45 +00:00
live_migration/hooks Fix live migration grenade ceph setup 2017-10-26 17:53:15 -04:00
unit Merge "compute: Ensure pre-migrating instances are destroyed during init_host" into stable/queens 2018-12-07 06:37:55 +00:00
__init__.py
fixtures.py fixtures: Track volume attachments within CinderFixtureNewAttachFlow 2018-10-22 15:51:59 -04:00
json_ref.py Nits from Ic3ab7d60e4ac12b767fe70bef97b327545a86e74 2017-11-28 15:55:45 +01:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30