Configure Yardstick flavor to give more RAM to ARM instances 79/36179/3
authorAlexandru Nemes <alexandru.nemes@enea.com>
Mon, 19 Jun 2017 09:04:56 +0000 (12:04 +0300)
committerAlexandru Nemes <alexandru.nemes@enea.com>
Tue, 20 Jun 2017 06:37:52 +0000 (06:37 +0000)
Yardstick TC005 fails with errors that indicate low memory conditions:
"fio: error while loading shared libraries:
librbd.so.1: cannot map zero-fill pages"
Changing the yardstick flavor to give 1024MB of RAM instead of 512MB
made this test case work.

JIRA: ARMBAND-275

Change-Id: I2193802082c28edb20004964d2df3780eb5eccb7
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
tests/ci/load_images.sh

index b1f925e..487f33e 100755 (executable)
@@ -219,7 +219,7 @@ create_nova_flavor()
         echo
         echo "========== Creating yardstick-flavor =========="
         # Create the nova flavor used by some sample test cases
-        openstack flavor create --id 100 --ram 512 --disk 3 --vcpus 1 yardstick-flavor
+        openstack flavor create --id 100 --ram 1024 --disk 3 --vcpus 1 yardstick-flavor
         # DPDK-enabled OVS requires guest memory to be backed by large pages
         if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
             openstack flavor set --property hw:mem_page_size=large yardstick-flavor