octavia/octavia/cmd
Elena Ezhova d73df70d85 Cleanup deleted load balancers in housekeeper's db_cleanup
When load balancer is deleted the corresponding DB entry is marked
as DELETED and is never actually removed along with a VIP
associated whit this load balancer.

This adds a new method to db_cleanup routine that scans the DB for
load balancers with DELETED provisioning_status and deletes them
from db if they are older than load_balancer_expiry_age. Corresponding
VIP entries are deleted in cascade.

Added new config option `load_balancer_expiry_age` to the `house_keeping`
config section.

Also changed the default value of exp_age argument to
CONF.house_keeping.amphora_expiry_age in check_amphora_expiry_age
method.

DocImpact
Closes-Bug #1573725

Change-Id: I4f99d38f44f218ac55a76ef062ed9ea401c0a02d
2016-07-07 03:03:03 +00:00
..
__init__.py Fix ups so pbr and setup works 2015-04-23 16:04:27 -05:00
agent.py [Trivial] Remove unnecessary executable privilege 2016-05-21 13:17:04 +00:00
api.py [Trivial] Remove unnecessary executable privilege 2016-05-21 13:17:04 +00:00
haproxy_vrrp_check.py Amphora Flows and Drivers for Active Standby 2015-12-03 23:27:20 +00:00
health_manager.py [Trivial] Remove unnecessary executable privilege 2016-05-21 13:17:04 +00:00
house_keeping.py Cleanup deleted load balancers in housekeeper's db_cleanup 2016-07-07 03:03:03 +00:00
octavia_worker.py [Trivial] Remove unnecessary executable privilege 2016-05-21 13:17:04 +00:00