Orphan Floating IP cleanup scripts have inconsistent logic

Bug #1501965 reported by Kurt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Operators
Fix Released
Undecided
Unassigned

Bug Description

The neutron/listorphans.py script looks for floating ips without a tenant. The neutron/delete_orphan_floatingips.py script delete floating ips that are not assigned to an instance.

Users who run the first script as a predictor of what the second script will do are in for a surprise.

I suggest adding another script to delete floating ips without a tenant to reflect the logic in listorphans.py and adding a "--dry-run" flag to both.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to osops-tools-generic (master)

Reviewed: https://review.openstack.org/230226
Committed: https://git.openstack.org/cgit/openstack/osops-tools-generic/commit/?id=feb571c9859e6f10fd45f1774446336784ca484c
Submitter: Jenkins
Branch: master

commit feb571c9859e6f10fd45f1774446336784ca484c
Author: Kurt Payne <email address hidden>
Date: Thu Oct 1 17:27:53 2015 -0700

    Add a dry-run flag. Fix inconsistency with 'list' and 'delete' orphans

    Closes-Bug: #1501965

    Change-Id: If9b6af6397512c6e55aaf1116b3788d23a4f3551

Changed in osops:
status: New → Fix Committed
JJ Asghar (d-jj)
Changed in osops:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.