nova/nova
Matt Riedemann c96c7c5e13 Add regression recreate test for bug 1830747
Before change I4244f7dd8fe74565180f73684678027067b4506e in Stein, when
a cold migration would reschedule to conductor it would not send the
RequestSpec, only the filter_properties. The filter_properties contain
a primitive version of the instance group information from the RequestSpec
for things like the group members, hosts and policies, but not the uuid.
When conductor is trying to reschedule the cold migration without a
RequestSpec, it builds a RequestSpec from the components it has, like the
filter_properties. This results in a RequestSpec with an instance_group
field set but with no uuid field in the RequestSpec.instance_group.
That RequestSpec gets persisted and then because of change
Ie70c77db753711e1449e99534d3b83669871943f, later attempts to load the
RequestSpec from the database will fail because of the missing
RequestSpec.instance_group.uuid.

The test added here recreates the pre-Stein scenario which could still
be a problem (on master) for any corrupted RequestSpecs for older
instances.

Change-Id: I05700c97f756edb7470be7273d5c9c3d76d63e29
Related-Bug: #1830747
2019-05-31 15:17:07 -04:00
..
api Merge "Stop handling 'InstanceUnknownCell' exception" 2019-05-31 13:31:03 +00:00
cmd Add --before to nova-manage db archive_deleted_rows 2019-05-23 11:07:08 +10:00
common
compute Merge "Keep attach_mode as top-level field in _translate_attachment_ref" 2019-05-31 00:56:14 +00:00
conductor Remove unused param from _fill_provider_mapping 2019-05-10 13:58:25 +02:00
conf Merge "Count instances from mappings and cores/ram from placement" 2019-05-30 20:39:43 +00:00
console Stop handling cells v1 for console authentication 2019-04-16 18:26:17 +01:00
consoleauth Stop handling cells v1 for console authentication 2019-04-16 18:26:17 +01:00
db Fix hard-delete of instance with soft-deleted referential constraints 2019-05-29 17:27:00 -04:00
hacking Delete the placement code 2019-04-28 20:06:15 +00: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 get_pci_mapping_for_migration to MigrationContext 2019-05-19 12:41:00 +03:00
notifications Remove cells code 2019-05-20 10:29:16 +01:00
objects Merge "Add get_counts() to InstanceMappingList" 2019-05-30 05:33:40 +00:00
pci Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
policies Remove cells code 2019-05-20 10:29:16 +01:00
privsep Add test coverage for nova.privsep.qemu. 2019-04-04 20:44:01 +00:00
scheduler Merge "Count instances from mappings and cores/ram from placement" 2019-05-30 20:39:43 +00:00
servicegroup [Trivial fix]Remove unnecessary slash 2019-05-06 16:23:59 +08:00
tests Add regression recreate test for bug 1830747 2019-05-31 15:17:07 -04:00
virt Merge "libvirt: Rework 'EBUSY' (SIGKILL) error handling code path" 2019-05-31 15:41:26 +00:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Keep attach_mode as top-level field in _translate_attachment_ref 2019-05-22 09:09:37 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
availability_zones.py Always pass HostAPI to get_availability_zones 2019-04-26 15:30:48 -04:00
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 Delete the placement code 2019-04-28 20:06:15 +00:00
context.py Merge "Fix target used in nova.policy.check_is_admin" 2019-05-18 02:04:30 +00:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py Merge "Add get_usages_counts_for_quota to SchedulerReportClient" 2019-05-30 20:39:32 +00:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
monkey_patch.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
policy.py Merge "Fix target used in nova.policy.check_is_admin" 2019-05-18 02:04:30 +00:00
profiler.py
quota.py Count instances from mappings and cores/ram from placement 2019-05-23 18:01:58 +00:00
rpc.py Remove unnecessary wrapper 2019-05-29 17:14:13 +01:00
safe_utils.py
service.py Remove 'nova-cells' service 2019-04-09 17:15:37 +01:00
service_auth.py
test.py Merge "Count instances from mappings and cores/ram from placement" 2019-05-30 20:39:43 +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