wrong IP allocation for multiple PTGs in same L2P

Bug #1481973 reported by Ivar Lazzaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Fix Released
High
Ivar Lazzaro

Bug Description

How to reproduce:

Create one L2P, and associate 2 PTGs to it.

Now create 1 PT in PTG2 and one in PTG1, both of them will get an IP address from the subnet of PTG1 ! The reason for this is how GBP creates the implicit Port only by specifying the network ID, leaving thus to Neutron the choice of which subnet in that network to use (in this case, both the subnets of PTG1 and PTG2 are in the same Neutron network).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (master)

Reviewed: https://review.openstack.org/209700
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=af792bc6252088e94e10c96eb648a66a935e5b09
Submitter: Jenkins
Branch: master

commit af792bc6252088e94e10c96eb648a66a935e5b09
Author: Ivar Lazzaro <email address hidden>
Date: Wed Aug 5 16:28:53 2015 -0700

    allocate implicit pt port in the right subnet

    When a PT is created with implicit port, try to allocate the port
    in each of the PTG's subnets until one address is available.

    Change-Id: I70647209346eb85401e45430c315669c38f0034c
    Closes-bug: 1481973
    Closes-bug: 1418738

Changed in group-based-policy:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/213406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/juno)

Reviewed: https://review.openstack.org/213406
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=53ae272ed296a4fd252f322eb2a707996759a997
Submitter: Jenkins
Branch: stable/juno

commit 53ae272ed296a4fd252f322eb2a707996759a997
Author: Ivar Lazzaro <email address hidden>
Date: Wed Aug 5 16:28:53 2015 -0700

    allocate implicit pt port in the right subnet

    When a PT is created with implicit port, try to allocate the port
    in each of the PTG's subnets until one address is available.

    Change-Id: I70647209346eb85401e45430c315669c38f0034c
    Closes-bug: 1481973
    Closes-bug: 1418738
    (cherry picked from commit af792bc6252088e94e10c96eb648a66a935e5b09)

tags: added: in-stable-juno
Changed in group-based-policy:
milestone: none → kilo-gbp-4
assignee: nobody → Ivar Lazzaro (mmaleckk)
importance: Undecided → High
Changed in group-based-policy:
status: Fix Committed → Fix Released
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.