From b168fbc1d759d4540704704c2419f318e2b805e7 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 23 Sep 2015 17:48:31 +0200 Subject: [PATCH] openstack: clear the buildpackages directory on stop When running /etc/init.d/teuthology stop, all OpenStack resources are destroyed, including the instance hosting the repository where the buildpackages task artefacts are archived. Remove /tmp/stampsdir so that everything gets rebuilt. Signed-off-by: Loic Dachary --- teuthology/openstack/openstack-teuthology.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/openstack/openstack-teuthology.init b/teuthology/openstack/openstack-teuthology.init index 60e60486a..72c145fcf 100755 --- a/teuthology/openstack/openstack-teuthology.init +++ b/teuthology/openstack/openstack-teuthology.init @@ -73,7 +73,7 @@ case $1 in while read uuid ; do eval openstack server delete $uuid done - rm -fr /home/$user/src/* + rm -fr /home/$user/src/* /tmp/stampsdir ;; restart) $0 stop -- 2.47.3