nova/nova/tests/functional
Matt Riedemann 20b90f2e26 Workaround missing RequestSpec.instance_group.uuid
It's clear that we could have a RequestSpec.instance_group
without a uuid field if the InstanceGroup is set from the
_populate_group_info method which should only be used for
legacy translation of request specs using legacy filter
properties dicts.

To workaround the issue, we look for the group scheduler hint
to get the group uuid before loading it from the DB.

The related functional regression recreate test is updated
to show this solves the issue.

Conflicts:
      nova/objects/request_spec.py

NOTE(mriedem): The conflict is due to not having change
Ib33719a4b9599d86848c618a6e142c71ece79ca5 in Queens.

Change-Id: I20981c987549eec40ad9762e74b0db16e54f4e63
Closes-Bug: #1830747
(cherry picked from commit da453c2bfe)
(cherry picked from commit 8569eb9b4f)
(cherry picked from commit 9fed1803b4)
2019-06-04 14:04:06 -04:00
..
api Handle tags in _bury_in_cell0 2018-12-12 17:20:44 -05:00
api_sample_tests Fix os-simple-tenant-usage result order 2019-01-22 18:09:21 +01:00
compute Handle volume API failure in _post_live_migration 2018-10-16 22:43:20 -04:00
db Create request spec, build request and mappings in one transaction 2019-04-30 14:22:03 +00:00
libvirt Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
notification_sample_tests Fix a comment in a notification functional test 2018-01-27 11:36:22 +00:00
regressions Workaround missing RequestSpec.instance_group.uuid 2019-06-04 14:04:06 -04:00
wsgi fixtures: Track volume attachments within CinderFixtureNewAttachFlow 2018-10-22 15:51:59 -04:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Fix os-simple-tenant-usage result order 2019-01-22 18:09:21 +01:00
integrated_helpers.py Add functional confirm_migration_error test 2019-05-29 00:54:39 +00:00
test_aggregates.py re-Allow adding computes with no ComputeNodes to aggregates 2017-05-25 10:56:29 -07:00
test_availability_zones.py Update instance.availability_zone on revertResize 2019-03-28 10:30:55 -04:00
test_compute_mgr.py Pass RequestSpec to ConductorTaskAPI.build_instances 2017-12-20 13:58:29 -05:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_list_servers_ip_filter.py Trivial: Nix duplicate PlacementFixture() in test 2017-12-01 15:39:28 -06:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py [api] Allow multi-attach in compute api 2018-01-22 10:45:13 -05:00
test_nova_manage.py Unmap compute nodes when deleting host mappings in delete cell operation 2018-03-16 10:37:49 +01:00
test_server_group.py Make scheduler.utils.setup_instance_group query all cells 2018-09-05 16:36:22 +00:00
test_servers.py Add functional confirm_migration_error test 2019-05-29 00:54:39 +00:00