wrong IP allocation for multiple PTGs in same L2P
Bug #1481973 reported by
Ivar Lazzaro
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).
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.
Reviewed: https:/ /review. openstack. org/209700 /git.openstack. org/cgit/ stackforge/ group-based- policy/ commit/ ?id=af792bc6252 088e94e10c96eb6 48a66a935e5b09
Committed: https:/
Submitter: Jenkins
Branch: master
commit af792bc6252088e 94e10c96eb648a6 6a935e5b09
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: I70647209346eb8 5401e45430c3156 69c38f0034c
Closes-bug: 1481973
Closes-bug: 1418738