Open termie opened 13 years ago
(by vishvananda) So maybe we should require num_networks and network_size as well....
Vish
On Mar 23, 2011, at 1:50 AM, justinsb wrote:
Public bug reported:
The CIDR network size is not respected when creating a network... this is going to cause user confusion:
root@openstack# bin/nova-manage network create Possible wrong number of arguments supplied network create: Creates fixed ips for host by range arguments: fixed_range=FLAG, [num_networks=FLAG], [network_size=FLAG], [vlan_start=FLAG], [vpn_start=FLAG], [fixed_range_v6=FLAG] 2011-03-23 08:42:13,991 CRITICAL nova [-] Fixed range in the form of 10.0.0.0/8 is required to create networks. ...
(OK, so I'll specify my CIDR; I'll give openstack 10.3.0.0/16)
root@openstack# bin/nova-manage network create 10.3.0.0/16
(Looks good)
root@openstack# bin/nova-manage network list network netmask start address DNS
10.3.0.0/24 255.255.255.0 10.3.0.3 NoneIt created a /24, not a /16 as I asked :-(
\ Affects: nova Importance: Undecided Status: New
You received this bug notification because you are a member of Nova Bug Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/740810
Title: nova-manage network creation doesn't respect CIDR
Status in OpenStack Compute (Nova): New
Bug description: The CIDR network size is not respected when creating a network... this is going to cause user confusion:
root@openstack# bin/nova-manage network create Possible wrong number of arguments supplied network create: Creates fixed ips for host by range arguments: fixed_range=FLAG, [num_networks=FLAG], [network_size=FLAG], [vlan_start=FLAG], [vpn_start=FLAG], [fixed_range_v6=FLAG] 2011-03-23 08:42:13,991 CRITICAL nova [-] Fixed range in the form of 10.0.0.0/8 is required to create networks. ...
(OK, so I'll specify my CIDR; I'll give openstack 10.3.0.0/16)
root@openstack# bin/nova-manage network create 10.3.0.0/16
(Looks good)
root@openstack# bin/nova-manage network list network netmask start address DNS
10.3.0.0/24 255.255.255.0 10.3.0.3 NoneIt created a /24, not a /16 as I asked :-(
The CIDR network size is not respected when creating a network... this is going to cause user confusion:
root@openstack# bin/nova-manage network create Possible wrong number of arguments supplied network create: Creates fixed ips for host by range arguments: fixed_range=FLAG, [num_networks=FLAG], [network_size=FLAG], [vlan_start=FLAG], [vpn_start=FLAG], [fixed_range_v6=FLAG] 2011-03-23 08:42:13,991 CRITICAL nova [-] Fixed range in the form of 10.0.0.0/8 is required to create networks. ...
(OK, so I'll specify my CIDR; I'll give openstack 10.3.0.0/16)
root@openstack# bin/nova-manage network create 10.3.0.0/16
(Looks good)
root@openstack# bin/nova-manage network list network netmask start address DNS
10.3.0.0/24 255.255.255.0 10.3.0.3 None
It created a /24, not a /16 as I asked :-(
Imported from Launchpad using lp2gh.