]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs: restart libvirt services before running tests
authorAndrew Schoen <aschoen@redhat.com>
Fri, 28 Apr 2017 18:08:07 +0000 (13:08 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 2 May 2017 18:57:44 +0000 (13:57 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-ansible-prs/build/build

index 7b7d4d2d44728f61e92f29fb83cc8f39fc70934d..34fcbae8af6eae3b62b3e10f6171fdfd26621146 100644 (file)
@@ -16,6 +16,10 @@ for network in $networks; do
     sudo virsh net-undefine $network || true
 done
 
+# restart libvirt services
+sudo service libvirt-bin restart
+sudo service libvirt-guests restart
+
 # the $SCENARIO var is injected by the job template. It maps
 # to an actual, defined, tox environment
 $VENV/tox -rv -e=$RELEASE-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt