diff --git a/nova/api/openstack/placement/objects/resource_provider.py b/nova/api/openstack/placement/objects/resource_provider.py index a0d101bc7147..a6cd64784cbf 100644 --- a/nova/api/openstack/placement/objects/resource_provider.py +++ b/nova/api/openstack/placement/objects/resource_provider.py @@ -4020,6 +4020,8 @@ class AllocationCandidates(base.VersionedObject): candidates = {} for suffix, request in requests.items(): alloc_reqs, summaries = cls._get_by_one_request(context, request) + LOG.debug("%s (suffix '%s') returned %d matches", + str(request), str(suffix), len(alloc_reqs)) if not alloc_reqs: # Shortcut: If any one request resulted in no candidates, the # whole operation is shot.