nova-manage floating create interprets /32 range as being wider than the /31 range
Bug #951161 reported by
Eoghan Glynn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Eoghan Glynn |
Bug Description
The implementation of 'nova-manage floating create' special-cases the /32 address range, so that:
a.b.c.d/32 => [a.b.c.d]
However the logic of netaddr.
a.b.c.d/31 => []
So effectively the /32 range is wider than the /31 range, whereas intuitively the opposite should be the case.
Changed in nova: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
The special-casing of /32 was introduced in:
https:/ /github. com/openstack/ nova/commit/ e430c842
as a work-around for the lack of ability to create a floating IP for a specific individual address.
This would be better achieved by just dropping the range altogether, such that:
nova-manage floating create 192.168.1.150
creates a single flotaing IP address for that specific address.
This would avoid the contradictions inherent in how the /32 versus /31 ranges are currently handled.