summaryrefslogtreecommitdiffstats
path: root/utils/clean_openstack.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/clean_openstack.py')
-rw-r--r--utils/clean_openstack.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/clean_openstack.py b/utils/clean_openstack.py
index 3d7597e07..4ad5d5bb0 100644
--- a/utils/clean_openstack.py
+++ b/utils/clean_openstack.py
@@ -34,7 +34,7 @@ import functest.utils.openstack_utils as os_utils
""" logging configuration """
-logger = ft_logger.Logger("run_rally").getLogger()
+logger = ft_logger.Logger("clean_openstack").getLogger()
REPO_PATH = os.environ['repos_dir'] + '/functest/'
@@ -374,6 +374,9 @@ def remove_tenants(keystone_client):
def main():
+ logger.info("+++++++++++++++++++++++++++++++")
+ logger.info("Cleaning OpenStack resources...")
+ logger.info("+++++++++++++++++++++++++++++++")
creds_nova = os_utils.get_credentials("nova")
nova_client = novaclient.Client('2', **creds_nova)
@@ -413,8 +416,6 @@ def main():
remove_tenants(keystone_client)
separator()
- exit(0)
-
if __name__ == '__main__':
main()