From 0cc079863736dde8dd78ad5c8cf5846c6d1d77b2 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 23 Oct 2015 01:18:05 +0200 Subject: [PATCH] openstack: reset the gitbuilder_host on stop The package-repository instance is destroyed and requests to it will timeout which takes time. Reverting to the default gitbuilder.ceph.com is quicker and easier. Signed-off-by: Loic Dachary --- teuthology/openstack/openstack-teuthology.init | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/openstack/openstack-teuthology.init b/teuthology/openstack/openstack-teuthology.init index 6e237dccba..de93f63aac 100755 --- a/teuthology/openstack/openstack-teuthology.init +++ b/teuthology/openstack/openstack-teuthology.init @@ -80,6 +80,7 @@ case $1 in while read uuid ; do eval openstack volume delete $uuid done + perl -pi -e 's/.*gitbuilder_host.*/gitbuilder_host: gitbuilder.ceph.com/' /home/$user/.teuthology.yaml rm -fr /home/$user/src/* /tmp/stampsdir ;; restart) -- 2.39.5