nova-manage network creation doesn't respect CIDR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
John Tran |
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=
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 :-(
Related branches
- Trey Morris (community): Approve
- Vish Ishaya (community): Approve
- Brian Waldon (community): Approve
-
Diff: 30 lines (+12/-1)1 file modifiedbin/nova-manage (+12/-1)
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
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: FLAG], size=FLAG] , [vlan_start=FLAG], range_v6= FLAG] /bugs.launchpad .net/bugs/ 740810 FLAG], size=FLAG] , [vlan_start=FLAG], range_v6= FLAG]
>
> 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=
> [network_
> [vpn_start=FLAG], [fixed_
> 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 :-(
>
> ** 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:/
>
> 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=
> [network_
> [vpn_start=FLAG], [fixed_
> 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 :-(