octavia/etc
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
..
certificates Implements the haproxy amphora agent api server 2015-06-02 18:13:39 +00:00
dhcp Disable dhclient requests the default route info 2016-06-08 00:14:16 -05:00
init Run amphora haproxy in a network namespace 2016-04-16 00:24:16 +00:00
initd Adding init.d script 2015-10-04 16:21:06 -05:00
octavia.conf Cleanup deleted load balancers in housekeeper's db_cleanup 2016-07-07 03:03:03 +00:00