From 4782a85d1a960c8549f85948b95b74b3852eecea Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 28 Apr 2017 13:08:47 -0500 Subject: [PATCH] ceph-docker-prs: restart libvirt services before running tests Signed-off-by: Andrew Schoen --- ceph-docker-prs/build/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ceph-docker-prs/build/build b/ceph-docker-prs/build/build index 1e9e12a3..43362a10 100644 --- a/ceph-docker-prs/build/build +++ b/ceph-docker-prs/build/build @@ -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 -- 2.39.5