]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: reset the gitbuilder_host on stop 667/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 22 Oct 2015 23:18:05 +0000 (01:18 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 23 Oct 2015 22:26:37 +0000 (00:26 +0200)
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 <ldachary@redhat.com>
teuthology/openstack/openstack-teuthology.init

index 6e237dccbab3fffeb717ed5ad786d7e6612fdc1c..de93f63aac9197f6d5f9e82f7df91efc68f54285 100755 (executable)
@@ -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)