FlatDHCP manager will hand out networks from other tenants
Bug #1331092 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Sean Dague |
Bug Description
If FlatDhcpManager is used to create specific networks per tenant, a tenant
will get all networks by default instead of just his or her assigned network.
Due to context elevation, the network manager doesn't properly ensure that the network is owned by the tenant before it creates a nic.
nova network-create --interface eth0 --bridge-interface br100 --project-id <foo-tenant-id> --fixed-range 100.0.0.0/24 foonet
nova network-create --interface eth1 --bridge-interface br200 --project-id <bar-tenant-id> --fixed-range 100.0.0.0/24 barnet
A instance create inside the foo tenant will get an interface on both foonet and barnet.
Changed in ossa: | |
status: | New → Incomplete |
summary: |
- Tenants can connect to other tenant's network in nova-network - VlanManager + FlatDHCP manager will hand out networks from other tenants |
information type: | Private Security → Public |
Changed in nova: | |
assignee: | Vish Ishaya (vishvananda) → Sean Dague (sdague) |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Fix + test for trunk