diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-26 16:00:56 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-26 16:00:56 +0000 |
commit | d87a0454712a3bc5ce298207c3fb15dc02049ff3 (patch) | |
tree | 8c3f545542753f3bba075e003976932599f8de5b /tester | |
parent | f78978f049b80c61cfa87da9fc97a7edad802fa6 (diff) | |
download | ciat-tester-d87a0454712a3bc5ce298207c3fb15dc02049ff3.tar.gz |
List of images not needed to cleanup instances
Diffstat (limited to 'tester')
-rwxr-xr-x | tester | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |