nova-manage : create network crashes when subnet range provided is not enough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Ricardo Carrillo Cruz |
Bug Description
If I run network create command with insufficient subnet range, then it crashes in middle. It seems like fixed_ip range check is not implemented.
$/usr/local/
Fixed_ips range:10.0.0.0/28
number of networks=2
network size per network=64
Error Reported on Console
-------
2011-02-07 11:18:15,879 INFO sqlalchemy.
2011-02-07 11:18:16,008 CRITICAL nova.root [-]
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: pkg_resources.
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: self.require(
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: execfile(
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: main()
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: fn(*argv)
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: vpn_start=
(nova.root): TRACE: File "/usr/local/
(nova.root): TRACE: cidr = "%s/%s" % (fixed_net[start], significant_bits)
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: return IP(IPint.
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: raise IndexError?
(nova.root): TRACE: IndexError?
(nova.root): TRACE:
Related branches
- Rick Harris (community): Approve
- Devin Carlen (community): Approve
- Jay Pipes (community): Approve
- Soren Hansen: Pending requested
-
Diff: 15 lines (+5/-0)1 file modifiednova/network/manager.py (+5/-0)
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Ricardo Carrillo Cruz (rcc) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
Ricardo: did you start working on that ? If yes, please set this to "In progress" and link any branch you may have. If not, maybe unassign you to give someone else a chance to take it ?