Change storage refresh to pool-refresh 73/12373/3
authorFeng Pan <fpan@redhat.com>
Fri, 15 Apr 2016 22:50:21 +0000 (18:50 -0400)
committerFeng Pan <fpan@redhat.com>
Fri, 22 Apr 2016 03:15:16 +0000 (03:15 +0000)
Using pool-refresh should be sufficient to clean up storage pool.

Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2
Signed-off-by: Feng Pan <fpan@redhat.com>
ci/clean.sh

index fbbca1f..dc76f32 100755 (executable)
@@ -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"