yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65674
[Bug 1702275] Re: Extra Provider summary returned from AllocationCandidates.get_by_filters
Reviewed: https://review.openstack.org/480130
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0e6cac5fde830f1de0ebdd4eebc130de1eb0198d
Submitter: Jenkins
Branch: master
commit 0e6cac5fde830f1de0ebdd4eebc130de1eb0198d
Author: He Jie Xu <hejie.xu@xxxxxxxxx>
Date: Tue Jul 4 18:51:06 2017 +0800
placement: filter usage records by resource provider id
The usage records are used to build the provider summary in the
AllocationCandidates.get_by_filters. Due to miss a filter on the
resource provider id, the extra resource provider summary returned.
Change-Id: Idc27e3ab3d4e1d2c6ade2f719572cbc2f5eee133
Closes-Bug: #1702275
** Changed in: nova
Status: In Progress => Fix Released
--
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):
Fix Released
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
References