'nova-manage floating create' does nothing for /31 or /32 address range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
Version: 2012.1-
'nova-manage floating create' silently does nothing if you pass a /31 or /32 address range. E.g.
# nova-manage floating list
No floating IP addresses have been defined.
# nova-manage floating create 10.20.223.242/31
No error was reported, so my expectation is that this has added 2 IP addresses to the pool, but:
# nova-manage floating list
No floating IP addresses have been defined.
The same occurs for a /32 network:
# nova-manage floating create 10.20.223.242/32
# nova-manage floating list
No floating IP addresses have been defined.
This occurs because nova/bin/
>>> list(netaddr.
[]
I believe the netaddr.
Suggested priority: medium