Incorrect logic of subnet fetching in /IpamDriver.RequestAddress handling
Bug #1585572 reported by
vikas choudhary
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr |
Fix Released
|
High
|
vikas choudhary |
Bug Description
If two docker networks are created with same subnet cidr, current logic of subnet retrieval will not give correct subnet.
Changed in kuryr: | |
assignee: | nobody → vikas choudhary (choudharyvikas16) |
status: | New → In Progress |
Changed in kuryr: | |
importance: | Undecided → High |
To post a comment you must log in.
How about this approach:
Lets maintain a boot persistent PoolID-networkID mapping. Add entry at network creation time.
At port creation time, PoolID is received from libnetwork. Using mapping network-id can be fetched and then eventually appropriate subnet.