summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-04-15 18:50:21 -0400
committerFeng Pan <fpan@redhat.com>2016-04-22 03:15:16 +0000
commit4ddb226d84c629493626b8ad0bad0ed7136357b8 (patch)
tree38ae4854c171991f3a55e567cde9e38f2d154055
parentd87cbc2f2aa88b9ba41dc34ca7098b9041fadd88 (diff)
Change storage refresh to pool-refresh
Using pool-refresh should be sufficient to clean up storage pool. Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2 Signed-off-by: Feng Pan <fpan@redhat.com>
-rwxr-xr-xci/clean.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index fbbca1f8..dc76f323 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -53,7 +53,7 @@ sed -i '/stack@undercloud.localdomain/d' /root/.ssh/authorized_keys
sed -i '/virtual-power-key/d' /root/.ssh/authorized_keys
-# restart libvirtd to force storage cleanup
-systemctl restart libvirtd
+# force storage cleanup
+virsh pool-refresh default
echo "Cleanup Completed"