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

index 66f326cd0e329b53c0752c8a7fa24ebd2d5981b8..350b13d3acae5441add23a508bcd60a0637b4d2d 100644 (file)
@@ -13,4 +13,8 @@ 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
+
 INSTALLER_DEV_BRANCH=$INSTALLER_BRANCH CEPH_ANSIBLE_DEV_BRANCH=$CEPH_ANSIBLE_BRANCH $VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR -- --provider=libvirt