it is possible to create networks with the same cidr even though logic exists to prevent it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
John Tran |
Bug Description
(trey|n3va)~/nova> nova/bin/
2011-07-27 19:11:27,303 DEBUG nova.utils [-] backend <module 'nova.db.
(trey|n3va)~/nova> nova/bin/
2011-07-27 19:11:46,213 DEBUG nova.utils [-] backend <module 'nova.db.
Meanwhile in mysql:
mysql> select id,cidr,
+----+-
| id | cidr | bridge | bridge_interface |
+----+-
| 1 | 10.1.1.0/30 | xenbr1 | NULL |
| 2 | 10.10.1.0/30 | xenbr1 | NULL |
| 3 | 10.2.1.0/30 | xenbr1 | NULL |
| 4 | 14.1.1.0/30 | xenbr1 | NULL |
| 5 | 14.1.1.0/30 | xenbr1 | NULL |
+----+-
5 rows in set (0.00 sec)
as you can see networks 4 and 5 have identical cidr
Related branches
- Josh Kearney (community): Approve
- Ed Leafe (community): Approve
-
Diff: 288 lines (+237/-5)2 files modifiednova/network/manager.py (+61/-5)
nova/tests/test_network.py (+176/-0)
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → John Tran (jtran) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |