nova-manage network create network_size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Joe Gordon |
Bug Description
My network-create command in one of my dev setups used to look like this:
nova-manage network create --label=public --num_networks=1 --bridge xenbr0 \
--gateway=
--fixed_
Now i have to define --network_size or the network manager throws a ValueError:
nova-manage network create --label=public --num_networks=1 \
--network_
--dns1=10.6.23.4 --dns2=10.6.23.5 \
--fixed_
So this creates a network - 10.127.0.0/24 (gateway 10.127.0.1, broadcast 10.127.0.255) and a fixed ip allocation of just 16 ips 10.127.
But the syntax changed, such tath I need to specify the network_size explicitly even though I'm giving it the fixed_range_v4 cidr
Change was in commit e00a398f84562f1
Changed in nova: | |
assignee: | nobody → Joe Gordon (joe-gordon0) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Sorry, value error, cause None can't convert to an int - and the network starts in the wrong place with my updated command anyway:
mysql> select * from networks\G ******* ******* ****** 1. row ******* ******* ******* ******
created_ at: 2012-09-05 22:55:02
updated_ at: NULL
deleted_ at: NULL
deleted: 0
id: 1
injected: 0
cidr: 10.127.0.0/28
netmask: 255.255.255.240
bridge: xenbr0
gateway: 10.127.0.1
broadcast: 10.127.0.15
dns1: 10.6.23.4
vlan: NULL address: NULL public_ port: NULL address: NULL
dhcp_ start: 10.127.0.2
project_ id: NULL
host: NULL
cidr_ v6: NULL
gateway_ v6: NULL
label: public
netmask_ v6: NULL interface: NULL
multi_ host: 0
dns2: 10.6.23.5
uuid: a0764070- f196-48f4- 85a0-68333e9345 a7
priority: NULL
rxtx_ base: NULL
*******
vpn_public_
vpn_
vpn_private_
bridge_
1 row in set (0.00 sec)