From d87a0454712a3bc5ce298207c3fb15dc02049ff3 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Sat, 26 Sep 2015 16:00:56 +0000 Subject: List of images not needed to cleanup instances --- tester | 4 ++-- 1 file 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. -- cgit v1.2.1