nova/nova/tests/functional
melanie witt 16e163053c Don't generate service UUID for deleted services
In Pike, we added a UUID field to services and during an upgrade from
Ocata => Pike, when instances are accessed joined with their associated
services, we generate a UUID for the services on-the-fly.

This causes a problem in the scenario where an operator upgrades their
cluster and has old, deleted services with hostnames matching existing
services associated with instances. When we go to generate the service
UUID for the old, deleted service, we hit a ServiceTooOld exception.

This addresses the problem by not bothering to generate a UUID for a
deleted service. One alternative would be to exclude deleted services
when we join the 'instances' and 'services' tables, but I'm not sure
whether that approach might cause unintended effects where service
information that used to be viewable for instances becomes hidden.

Closes-Bug: #1778305
Closes-Bug: #1764556

Change-Id: I347096a527c257075cefe7b81210622f6cd87daf
2019-07-30 18:48:51 +00:00
..
api Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
api_sample_tests Merge "Privsepify ipv4 forwarding enablement." 2019-07-26 21:50:12 +00:00
compute Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
db Merge "Drop delete_build_requests_with_no_instance_uuid online migration" 2019-07-23 22:43:45 +00:00
libvirt Remove fake_libvirt_utils users in functional testing. 2019-07-23 17:46:32 -05:00
notification_sample_tests Merge "Rename CinderFixtureNewAttachFlow to CinderFixture" 2019-07-03 23:00:20 +00:00
regressions Don't generate service UUID for deleted services 2019-07-30 18:48:51 +00:00
wsgi Merge "Sync COMPUTE_STATUS_DISABLED from API" 2019-07-09 17:32:03 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
api_samples_test_base.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
fixtures.py Convert driver supported capabilities to compute node provider traits 2019-02-28 23:28:19 +00:00
integrated_helpers.py Remove global state from the FakeDriver 2019-06-21 10:37:20 +02:00
test_aggregates.py Remove global state from the FakeDriver 2019-06-21 10:37:20 +02:00
test_availability_zones.py Remove global state from the FakeDriver 2019-06-21 10:37:20 +02:00
test_boot_from_volume.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_compute_mgr.py Fup for the bandwidth series 2019-02-27 10:23:15 +01:00
test_conf_max_attach_disk_devices.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_images.py Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_json_filter.py Add functional test for the JsonFilter 2019-03-26 12:56:11 -04:00
test_legacy_v2_compatible_wrapper.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_list_servers_ip_filter.py tests: Stop starting consoleauth in functional tests 2019-06-17 15:18:31 +01:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Handle unsetting '[DEFAULT] dhcp_domain' 2019-04-15 15:34:04 -04:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_nova_manage.py Add 'resource_request' to neutronv2/constants 2019-07-16 13:23:36 +02:00
test_report_client.py Un-safe_connect and publicize get_providers_in_tree 2019-06-27 17:00:24 -05:00
test_server_group.py Merge "Remove global state from the FakeDriver" 2019-06-27 17:50:11 +00:00
test_servers.py Remove deprecated Core/Ram/DiskFilter 2019-07-23 07:49:41 -07:00
test_servers_provider_tree.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00