Red Hat Bugzilla – Bug 896085
Multiple networks creation fails in case not specifying the networks sizes
Last modified: 2016-04-26 18:30:12 EDT
Folsom on RHEL6.4
Network creation fails with "count outside of current IP subnet boundary!" error when trying to create multiple networks (using the "--num_networks" paramter with value > 1) without specifying the networks sizes (with the "--network_size" parameter).
Command failed, please check log for more info
2013-01-15 16:21:19 CRITICAL nova [req-dadb472b-1cae-4e03-b309-1630338f51eb None None] count outside of current IP subnet boundary!
The network_size should be derived from range_size/num_networks - it should succeed only if the result of that devision >=4
Command for example:
nova-manage network create --label=net1 --fixed_range_v4=192.168.1.128/25 --bridge=br100 --project_id=a2d3296b79d74bc5ac647976834b7126 --num_networks=2
Looks like this was fixed upstream for Folsom. See https://bugs.launchpad.net/nova/+bug/1046605
The fix was in commit 7483115f, done on 2012-09-07 and merged to stable/folsom on 2012-09-11.
Commit 7483115f has already been merged to rh-folsom-rhel-6-patches
This appears to have been resolved some time ago, perhaps in the 2012.2.3 rebase?
I did not check 2012.2.2 (since this bug was reported against it). The commit referenced in comment 3 is definitely in the GA release of openstack-nova.