From 04548b067c7c79602332fe2bc2dc89ed77cee7ac Mon Sep 17 00:00:00 2001 From: Josh Kearney Date: Tue, 27 Sep 2011 15:21:42 -0500 Subject: 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 --- nova/compute/api.py | 1 - nova/compute/manager.py | 2 -- 2 files changed, 3 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index 7bf28d24e..8b0c76cb1 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -47,7 +47,6 @@ LOG = logging.getLogger('nova.compute.api') FLAGS = flags.FLAGS flags.DECLARE('vncproxy_topic', 'nova.vnc') -flags.DECLARE('reclaim_instance_interval', 'nova.compute.manager') flags.DEFINE_integer('find_host_timeout', 30, 'Timeout after NN seconds when looking for a host.') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 9c6358a34..169439ffd 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -83,8 +83,6 @@ flags.DEFINE_integer("resize_confirm_window", 0, " Set to 0 to disable.") flags.DEFINE_integer('host_state_interval', 120, 'Interval in seconds for querying the host status') -flags.DEFINE_integer('reclaim_instance_interval', 0, - 'Interval in seconds for reclaiming deleted instances') LOG = logging.getLogger('nova.compute.manager') -- cgit