nova/nova/tests
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
..
functional Don't generate service UUID for deleted services 2019-07-30 18:48:51 +00:00
live_migration/hooks Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 13:59:57 +08:00
unit Merge "Stop sending bad values from libosinfo to libvirt" 2019-07-30 12:31:32 +00:00
__init__.py
fixtures.py Merge "Add 'resource_request' to neutronv2/constants" 2019-07-22 21:59:56 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00