From 08b6566e355abd04157ccc6da3d8f9e574c44c5e Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Tue, 19 Feb 2019 09:27:26 +0000 Subject: [PATCH] Revert "Only init a workspace if doesn't exists" This reverts commit 1084cd99548f7e7b3087d9d5fdb8a86e37c4575a. As when we move tempest workspace to a different directory, the directory is empty and tempest will fail to run any operation stating no .stestr.conf file found. In order to fix the issue, we need to do tempest init. Change-Id: Ia29398d3e82b880efe5e82febbc6dd6cf32b7450 --- tasks/tempest_post_install.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/tempest_post_install.yml b/tasks/tempest_post_install.yml index a73849f3..dcf3441b 100644 --- a/tasks/tempest_post_install.yml +++ b/tasks/tempest_post_install.yml @@ -52,9 +52,8 @@ if ! tempest workspace list | grep -w {{ tempest_workspace }}; then tempest workspace move --name workspace --path {{ tempest_workspace }} fi - else - tempest init {{ tempest_workspace }} fi + tempest init {{ tempest_workspace }} exit 3 fi args: