]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-docker-nightly: restart libvirt services before running tests
authorAndrew Schoen <aschoen@redhat.com>
Fri, 28 Apr 2017 18:08:28 +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-docker-nightly/build/build

index 1e9e12a3825effdefbcc455706a0f650d9728c03..43362a100bc927bf2668bff7962e03e2d48b499c 100644 (file)
@@ -22,6 +22,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
+
 # adding groups on the fly doesn't guarantee their availability
 # so we must use `sg` to execute the tests as part of the docker group to avoid
 # 'Permission Denied` when tryin to talk over the socket