diff options
| author | Josh Kearney <josh@jk0.org> | 2011-10-10 12:38:12 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-10-10 12:38:12 -0500 |
| commit | d5af7c6d8aaa885a2b81a214e21d527d4c12147d (patch) | |
| tree | 3e6dbef5d26adc6f06042b0cf946b73e7039ceea /tools/xenserver | |
| parent | 6490ab456661b2eb7638f928a69ffacfe00934ad (diff) | |
| download | nova-d5af7c6d8aaa885a2b81a214e21d527d4c12147d.tar.gz nova-d5af7c6d8aaa885a2b81a214e21d527d4c12147d.tar.xz nova-d5af7c6d8aaa885a2b81a214e21d527d4c12147d.zip | |
Continue to the next iteration of the loop if an instance is not found.
Change-Id: I0342bfd9ec04c2bec25d03ce1200d38a57929bb9
Diffstat (limited to 'tools/xenserver')
| -rwxr-xr-x | tools/xenserver/vm_vdi_cleaner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/xenserver/vm_vdi_cleaner.py b/tools/xenserver/vm_vdi_cleaner.py index 9df12f12e..c5808639b 100755 --- a/tools/xenserver/vm_vdi_cleaner.py +++ b/tools/xenserver/vm_vdi_cleaner.py @@ -148,6 +148,7 @@ def find_orphaned_instances(session, verbose=False): # anything about the particular instance, print a warning and let # the operator handle it manually. print >> sys.stderr, "Instance %s not found" % instance_id + continue # NOTE(jk0): A zombie VM is an instance that is not active and hasn't # been updated in over the specified period. |
