← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1782690] [NEW] Consider forbidden traits in early exit of AllocationCandidates

 

Public bug reported:

Current, if there aren't any providers that have any of the required
traits, just exit early in _get_by_one_request. But we should also
consider the forbidden traits to optimize this attempt at a quick
return.

https://github.com/openstack/nova/blob/fdd4253/nova/api/openstack/placement/objects/resource_provider.py#L3948-L3956

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: placement

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1782690

Title:
  Consider forbidden traits in early exit of AllocationCandidates

Status in OpenStack Compute (nova):
  New

Bug description:
  Current, if there aren't any providers that have any of the required
  traits, just exit early in _get_by_one_request. But we should also
  consider the forbidden traits to optimize this attempt at a quick
  return.

  https://github.com/openstack/nova/blob/fdd4253/nova/api/openstack/placement/objects/resource_provider.py#L3948-L3956

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1782690/+subscriptions


Follow ups