nova-manage floating delete fails using --ip_range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Russell Bryant |
Bug Description
Version: Diablo (2011.3.1)
I accidentally created the wrong list of floating IPs using --ip_range. I tried to delete it using --ip_range and got an error.
To reproduce:
FLOATING_
nova-manage floating create --ip_range=
nova-manage floating delete --ip_range=
Error in nova-manage.log:
2012-02-14 08:53:41,478 CRITICAL nova [3fc850b8-
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "/usr/bin/
(nova): TRACE: str(address))
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return IMPL.floating_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return f(*args, **kwargs)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: session=session)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return f(*args, **kwargs)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: raise exception.
(nova): TRACE: FloatingIpNotFo
(nova): TRACE:
no longer affects: | nova/diablo |
This was fixed in master by this commit:
commit 9e21a2228c19189 6223daae2379fcf 1352cc736c
Author: Dean Troyer <email address hidden>
Date: Tue Jan 10 15:18:07 2012 -0600
nova-manage floating ip fixes
* Add pool, interface to 'floating list' output /review. openstack. org/2892 and are not visible elsewhere /review. openstack. org/2663
These columns were added to the floating_ips table in
https:/
* Fix 'floating delete' to skip network/broadcast addresses
Makes the delete command match the create command behaviour
introduced in https:/
* Address changes listed in bug 817281
Change host column in output to project ID, change hostname
column to uuid
Change-Id: Ibbfbe9ed554392 7a6b2a1e676f561 7901a32f897