From: mbeierl Date: Fri, 20 Jan 2017 16:40:06 +0000 (-0500) Subject: Change to Ubuntu 16.04 X-Git-Tag: danube.1.0~21 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=60d167b3a572b705dfdc9421802099eddad2307f;p=storperf.git Change to Ubuntu 16.04 Change the base image used for the agent VM to Ubuntu 16.04 as the 14.04 image has kernel panic when the Cinder Volume is detached Change-Id: I37e41939826fbc7c1efcc4360b99b1a2b34b8d11 JIRA: STORPERF-97 Signed-off-by: mbeierl --- diff --git a/ci/daily.sh b/ci/daily.sh index f26d96e..e3b64cc 100755 --- a/ci/daily.sh +++ b/ci/daily.sh @@ -59,13 +59,13 @@ then openstack stack delete --yes --wait StorPerfAgentGroup fi -echo Checking for Ubuntu 14.04 image in Glance -IMAGE=`openstack image list | grep "Trusty x86_64"` +echo Checking for Ubuntu 16.04 image in Glance +IMAGE=`openstack image list | grep "Ubuntu 16.04 x86_64"` if [ -z $IMAGE ] then - wget https://cloud-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloudimg-amd64-disk1.img - openstack image create "Trusty x86_64" --disk-format qcow2 --public \ - --container-format bare --file ubuntu-14.04-server-cloudimg-amd64-disk1.img + wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img + openstack image create "Ubuntu 16.04 x86_64" --disk-format qcow2 --public \ + --container-format bare --file ubuntu-16.04-server-cloudimg-amd64-disk1.img fi echo "TEST_DB_URL=http://testresults.opnfv.org/test/api/v1" >> $WORKSPACE/ci/job/admin.rc @@ -79,7 +79,7 @@ do done echo Creating 1:1 stack -$WORKSPACE/ci/create_stack.sh $CINDER_NODES 10 "Trusty x86_64" $NETWORK +$WORKSPACE/ci/create_stack.sh $CINDER_NODES 10 "Ubuntu 16.04 x86_64" $NETWORK export QUEUE_DEPTH=8 export BLOCK_SIZE=16384 @@ -91,7 +91,7 @@ WARM_UP_STATUS=`curl -s -X GET "http://127.0.0.1:5000/api/v1.0/jobs?id=$WARM_UP& | awk '/Status/ {print $2}' | sed 's/"//g'` while [ "$WARM_UP_STATUS" != "Completed" ] do - sleep 10 + sleep 60 WARM_UP_STATUS=`curl -s -X GET "http://127.0.0.1:5000/api/v1.0/jobs?id=$WARM_UP&type=status" \ | awk '/Status/ {print $2}' | sed 's/"//g'` done @@ -113,7 +113,7 @@ do | awk '/Status/ {print $2}' | sed 's/"//g'` while [ "$JOB_STATUS" != "Completed" ] do - sleep 10 + sleep 60 JOB_STATUS=`curl -s -X GET "http://127.0.0.1:5000/api/v1.0/jobs?id=$JOB&type=status" \ | awk '/Status/ {print $2}' | sed 's/"//g'` done diff --git a/storperf/resources/hot/storperf-agent.yaml b/storperf/resources/hot/storperf-agent.yaml index 5d99a26..587b6d8 100644 --- a/storperf/resources/hot/storperf-agent.yaml +++ b/storperf/resources/hot/storperf-agent.yaml @@ -15,7 +15,7 @@ parameters: default: m1.small image: type: string - default: 'StorPerf Ubuntu 14.04' + default: 'Ubuntu 16.04' key_name: type: string default: StorPerf