nova/nova/tests/functional/api/openstack/placement
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
..
db Consider root id is None in the database case 2018-11-20 14:53:59 +00:00
fixtures Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
gabbits Add bandwidth related standard resource classes 2018-11-05 17:47:13 -05:00
__init__.py Add initial framing of placement API 2016-07-29 10:31:36 +00:00
base.py [placement] Use a simplified WarningsFixture 2018-07-30 19:38:35 +01:00
test_direct.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_placement_api.py [placement] Use a non-nova log capture fixture 2018-07-30 19:38:22 +01:00
test_verify_policy.py [placement] Add functional test to verify presence of policy 2018-08-23 10:27:53 +01:00