Kuryr emits DuplicatedResourceException when we had subnetpools for IPv4 and IPv6

Bug #1503973 reported by Taku Fukushima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Committed
Undecided
Taku Fukushima

Bug Description

Kuryr examines the length of the list of subnets in _get_subnets_by_attrs. The maximum length is set as 1 but it should be 2, for IPv4 and IPv6.

Changed in kuryr:
assignee: nobody → Taku Fukushima (tfukushima)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/232378

Changed in kuryr:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr (master)

Reviewed: https://review.openstack.org/232378
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=cd8d580ba302c0a60d9137c95b0d526478346549
Submitter: Jenkins
Branch: master

commit cd8d580ba302c0a60d9137c95b0d526478346549
Author: Taku Fukushima <email address hidden>
Date: Thu Oct 8 15:42:49 2015 +0900

    Modify the maximum length of subnets contain the same EndpointID

    This patch modifes _get_subnets_by_attrs to examine the new maximum
    length, 2 for IPv4 and IPv6 each other, for the subnets that have the
    same EndpointID.

    Change-Id: I16fb57bfebde19b51fac184c6615b90d568c3bf4
    Signed-off-by: Taku Fukushima <email address hidden>
    Closes-Bug: #1503973

Changed in kuryr:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.