Comment 4 for bug 1533216

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/liberty)

Reviewed: https://review.openstack.org/326141
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=87d12c9a0f9693b006181743d0c8ab05a52ca287
Submitter: Jenkins
Branch: stable/liberty

commit 87d12c9a0f9693b006181743d0c8ab05a52ca287
Author: venkata anil <email address hidden>
Date: Tue Jan 12 13:40:36 2016 +0000

    item allocator should return same value for same key

    When ItemAllocator.allocate called with same key again,
    it is returning different value.
    To fix this, we check if a value for key already exists in
    self.allocations, and return that value if already exists.

    Closes-bug: #1533216
    Change-Id: I1f6191b07d33a1f542de18a942cefaf7ecb6c143
    (cherry picked from commit 334dae0190f239a2cba4cebb9f8881e3817cee61)