Adds a script that can automatically delete orphaned VDIs. Also had to move some flags around to avoid circular imports.

Fixes bug 809614.

Change-Id: I635f7eef9ede45bee1ee4a62a3882b55d4222ee3
This commit is contained in:
Josh Kearney
2011-09-27 15:21:42 -05:00
parent 8fcb1d208a
commit 19670c4a2d

View File

@@ -435,3 +435,10 @@ DEFINE_bool('allow_resize_to_same_host', False,
DEFINE_string('stub_network', False,
'Stub network related code')
DEFINE_integer('reclaim_instance_interval', 0,
'Interval in seconds for reclaiming deleted instances')
DEFINE_integer('zombie_instance_updated_at_window', 172800,
'Limit in seconds that a zombie instance can exist before '
'being cleaned up.')