summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-09-27 15:21:42 -0500
committerJosh Kearney <josh@jk0.org>2011-09-30 12:45:15 -0500
commit04548b067c7c79602332fe2bc2dc89ed77cee7ac (patch)
treea51b60a128da066d4708fab6fe464941cf88bd55 /nova/flags.py
parentf40d94e59f000a2937cea68663053739e721b80e (diff)
downloadnova-04548b067c7c79602332fe2bc2dc89ed77cee7ac.tar.gz
nova-04548b067c7c79602332fe2bc2dc89ed77cee7ac.tar.xz
nova-04548b067c7c79602332fe2bc2dc89ed77cee7ac.zip
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
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py
index 1050f0347..58e8570b1 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -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.')