← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 932070] Re: nova-manage floating delete fails using --ip_range

 

** No longer affects: nova/diablo

-- 
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/932070

Title:
  nova-manage floating delete fails using --ip_range

Status in OpenStack Compute (Nova):
  Fix Released

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_RANGE="192.168.20.1/24"
  nova-manage floating create --ip_range=$FLOATING_RANGE
  nova-manage floating delete --ip_range=$FLOATING_RANGE

  Error in nova-manage.log:

  
  2012-02-14 08:53:41,478 CRITICAL nova [3fc850b8-82eb-48fb-a7b6-4bc728ac45c2 None None] Floating ip not found for address 192.168.20.0.
  (nova): TRACE: Traceback (most recent call last):
  (nova): TRACE:   File "/usr/bin/nova-manage", line 2149, in <module>
  (nova): TRACE:     main()
  (nova): TRACE:   File "/usr/bin/nova-manage", line 2137, in main
  (nova): TRACE:     fn(*fn_args, **fn_kwargs)
  (nova): TRACE:   File "/usr/bin/nova-manage", line 702, in delete
  (nova): TRACE:     str(address))
  (nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 252, in floating_ip_destroy
  (nova): TRACE:     return IMPL.floating_ip_destroy(context, address)
  (nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 119, in wrapper
  (nova): TRACE:     return f(*args, **kwargs)
  (nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 566, in floating_ip_destroy
  (nova): TRACE:     session=session)
  (nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 119, in wrapper
  (nova): TRACE:     return f(*args, **kwargs)
  (nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 649, in floating_ip_get_by_address
  (nova): TRACE:     raise exception.FloatingIpNotFoundForAddress(address=address)
  (nova): TRACE: FloatingIpNotFoundForAddress: Floating ip not found for address 192.168.20.0.
  (nova): TRACE:

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/932070/+subscriptions