** No longer affects: nova/essex -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1021222
Title: [nova-manage][floating] Deletion process should continue when failing due to ip not found. Status in OpenStack Compute (Nova): Fix Released Bug description: Description of problem: nova-mange floating delete fails when deleting ip range and one of the addresses does not exists. * The command should print a warning and continue deleting the rest of the range. e.g: # nova-manage floating create --ip_range=1.1.1.0/24 # nova-manage floating delete 1.1.1.1 # nova-manage floating delete 1.1.1.0/24 2012-07-05 12:12:33 CRITICAL nova [req-74930806-579b-4fdd-98e4-1d43ebc0743a None None] Floating ip not found for address 1.1.1.1. 2012-07-05 12:12:33 TRACE nova Traceback (most recent call last): 2012-07-05 12:12:33 TRACE nova File "/usr/bin/nova-manage", line 1746, in <module> 2012-07-05 12:12:33 TRACE nova main() 2012-07-05 12:12:33 TRACE nova File "/usr/bin/nova-manage", line 1733, in main 2012-07-05 12:12:33 TRACE nova fn(*fn_args, **fn_kwargs) 2012-07-05 12:12:33 TRACE nova File "/usr/bin/nova-manage", line 664, in delete 2012-07-05 12:12:33 TRACE nova str(address)) 2012-07-05 12:12:33 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/api.py", line 266, in floating_ip_destroy 2012-07-05 12:12:33 TRACE nova return IMPL.floating_ip_destroy(context, address) 2012-07-05 12:12:33 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 120, in wrapper 2012-07-05 12:12:33 TRACE nova return f(*args, **kwargs) 2012-07-05 12:12:33 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 701, in floating_ip_destroy 2012-07-05 12:12:33 TRACE nova session=session) 2012-07-05 12:12:33 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 120, in wrapper 2012-07-05 12:12:33 TRACE nova return f(*args, **kwargs) 2012-07-05 12:12:33 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 774, in floating_ip_get_by_address 2012-07-05 12:12:33 TRACE nova raise exception.FloatingIpNotFoundForAddress(address=address) 2012-07-05 12:12:33 TRACE nova FloatingIpNotFoundForAddress: Floating ip not found for address 1.1.1.1. 2012-07-05 12:12:33 TRACE nova # nova-manage floating list None 1.1.1.2 None nova eth1 . . . None 1.1.1.254 None nova eth1 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1021222/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

