]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
scripts: Add function to delete leftover vagrant VMs wip-cleanup-libvirt 720/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 17 May 2017 15:51:37 +0000 (11:51 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 17 May 2017 18:02:10 +0000 (14:02 -0400)
commit038f83a796872629d1544975556be6b3d2996478
tree672dc06dac55df188e41c4df1448c5de6a3f1ce8
parent5fbc92e29bb6f5604ad208276d539aae5476b0d5
scripts: Add function to delete leftover vagrant VMs

Some of the network errors thrown by libvirt when running
Docker builds were because the slave had leftover Vagrant VMs that didn't
get destroyed.

This PR ensures all slaves being used for Docker tests will have VMs and disk images cleaned up if the build fails.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-docker-nightly/build/teardown
ceph-docker-prs/build/teardown
scripts/build_utils.sh