← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1702275] [NEW] Extra Provider summary returned from AllocationCandidates.get_by_filters

 

Public bug reported:

The case is there are three resource providers, only two RPs have enough
resources. But the return of AllocationCandidates.get_by_filters
includes the provider summary of the RP without enough resource.

This is due to miss a filter like the comment said
https://github.com/openstack/nova/blob/3863eca0ac5a9437354288de673c831d5dc20f2e/nova/objects/resource_provider.py#L2364
in the code

** Affects: nova
     Importance: Undecided
     Assignee: Alex Xu (xuhj)
         Status: In Progress


** Tags: placement

** Changed in: nova
     Assignee: (unassigned) => Alex Xu (xuhj)

** Tags added: 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/1702275

Title:
  Extra Provider summary returned from
  AllocationCandidates.get_by_filters

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  The case is there are three resource providers, only two RPs have
  enough resources. But the return of
  AllocationCandidates.get_by_filters includes the provider summary of
  the RP without enough resource.

  This is due to miss a filter like the comment said
  https://github.com/openstack/nova/blob/3863eca0ac5a9437354288de673c831d5dc20f2e/nova/objects/resource_provider.py#L2364
  in the code

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


Follow ups