From dbff89e9145a4841561da858b5de9df7609748f7 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Tue, 9 Aug 2016 15:30:56 +0800 Subject: Two modifications for DPDK image 1. workaround for creating snapshot 2. modify the parameters of Hugepage in vm JIRA:YARDSTICK-233 Change-Id: I9cea76ed30dabe4fe2cb644e58ed0acd7dd8ecde Signed-off-by: wu.zhihui --- tools/yardstick-img-dpdk-finalize.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/yardstick-img-dpdk-finalize.sh') diff --git a/tools/yardstick-img-dpdk-finalize.sh b/tools/yardstick-img-dpdk-finalize.sh index b9ea83e11..7a450e269 100644 --- a/tools/yardstick-img-dpdk-finalize.sh +++ b/tools/yardstick-img-dpdk-finalize.sh @@ -29,6 +29,9 @@ do fi done +# workaround: Without wait time, the file size of pktgen is zero in the snapshot. +sleep 60 + status=$(nova image-create --poll $stackname $new_image_name) if [[ "$status" =~ "Finished" ]];then echo "$new_image_name finished" -- cgit 1.2.3-korg