nova/nova/tests/functional/api/openstack/placement/db
Tetsuro Nakamura cdbedac920 Consider root id is None in the database case
There are cases where ``root_provider_id`` of a resource provider is
set to NULL just after it is upgraded to the Rocky release. In such
cases getting allocation candidates raises a Keyerror.

This patch fixes that bug for cases there is no sharing or nested
providers in play.

Change-Id: I9639d852078c95de506110f24d3f35e7cf5e361e
Closes-Bug:#1799892
2018-11-20 14:53:59 +00:00
..
__init__.py Move placement test cases from db to placement 2018-03-22 13:27:44 +08:00
test_allocation_candidates.py Consider root id is None in the database case 2018-11-20 14:53:59 +00:00
test_base.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_consumer.py Use unique consumer_id when doing online data migration 2018-10-16 15:30:38 -04:00
test_project.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_reshape.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_resource_class_cache.py [placement] Move resource_class_cache into placement hierarchy 2018-08-03 14:55:49 +01:00
test_resource_provider.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_user.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00