summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-26 16:00:56 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-26 16:00:56 +0000
commitd87a0454712a3bc5ce298207c3fb15dc02049ff3 (patch)
tree8c3f545542753f3bba075e003976932599f8de5b
parentf78978f049b80c61cfa87da9fc97a7edad802fa6 (diff)
downloadciat-tester-d87a0454712a3bc5ce298207c3fb15dc02049ff3.tar.gz
List of images not needed to cleanup instances
-rwxr-xr-xtester4
1 files changed, 2 insertions, 2 deletions
diff --git a/tester b/tester
index 6c767e4..1a26d1a 100755
--- a/tester
+++ b/tester
@@ -133,7 +133,7 @@ class OpenstackHost(Host):
system.deploy(files)
self.remove_env_vars()
- def cleanup_systems(self, files):
+ def cleanup_systems(self):
self.set_env_vars()
print(str(self) + 'Terminating systems:')
for system in self.systems:
@@ -390,7 +390,7 @@ class ReleaseApp(cliapp.Application):
def clean_up(self):
print('[Local] Clean up systems on remote hosts:')
for host in self.hosts:
- self.hosts[host].cleanup_systems(self.images)
+ self.hosts[host].cleanup_systems()
# Sleep for a bit, or nova silently fails to delete the image
# TODO: Test whether the image has been deleted in a retry loop.