← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1709788] Re: AllocationCandidates return duplicated allocation requests when no sharing rp

 

Reviewed:  https://review.openstack.org/492395
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2e5f293f13e8f38e8cb6b4b58bd69d04eb808b9e
Submitter: Jenkins
Branch:    master

commit 2e5f293f13e8f38e8cb6b4b58bd69d04eb808b9e
Author: He Jie Xu <hejie.xu@xxxxxxxxx>
Date:   Thu Aug 10 14:49:29 2017 +0800

    placement: avoid returning duplicated alloc_reqs when no sharing rp
    
    This patch returns from the loop early where there are no sharing
    rps, avoiding generating duplicated requests.
    
    Change-Id: I7c73b720f09bb2371770b1c6de537bb5527785a9
    Closes-Bug: #1709788


** 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/1709788

Title:
  AllocationCandidates return duplicated allocation requests when no
  sharing rp

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The case is: computenode1 and comptuenode3 share the storage from
  sharedstrorage1, computenode3 has local disk. The expected result from
  AllocationCandidates is (computenode1, sharedstorage1), (computenode2,
  sharedstorage1) and (computenode3). But the current return is
  (computenode1, sharedstorage1), (computenode2, sharedstorage1),
  (computenode3) and (computenode3), a duplicated (computenodes)
  returned.

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


References