From 1182d564d6674e7fc971b4b5053191a39912cfe2 Mon Sep 17 00:00:00 2001 From: Juan Carlos Alonso Date: Thu, 29 Aug 2019 17:11:35 -0500 Subject: [PATCH] Add update to configure single huge page size for openstack worker node. Change-Id: I36838d3db0091502d8f0ec210d690972ad07ec00 --- automated-robot-suite/Resources/Provisioning.robot | 11 +++++++++++ automated-robot-suite/Tests/Provision.robot | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/automated-robot-suite/Resources/Provisioning.robot b/automated-robot-suite/Resources/Provisioning.robot index d0e19db..fce877f 100644 --- a/automated-robot-suite/Resources/Provisioning.robot +++ b/automated-robot-suite/Resources/Provisioning.robot @@ -107,6 +107,17 @@ Configure Ceph [Documentation] Enable CEPH partition on the specified node Add ODS To Tier ${host} +Configure Huge Page Size + [Arguments] ${host} + [Documentation] Configure single huge page size for openstack worker + ... node. + Run Command system host-memory-modify -f vswitch -1G 1 ${host} 0 + ... True + Run Command system host-memory-modify -f vswitch -1G 1 ${host} 1 + ... True + Run Command system host-memory-modify -1G 10 ${host} 0 True + Run Command system host-memory-modify -1G 10 ${host} 1 True + Unlock Master Controller [Arguments] ${controller} [Documentation] Verify that controller with ACTIVE ssh connection diff --git a/automated-robot-suite/Tests/Provision.robot b/automated-robot-suite/Tests/Provision.robot index 4bec4a6..29a9ee7 100644 --- a/automated-robot-suite/Tests/Provision.robot +++ b/automated-robot-suite/Tests/Provision.robot @@ -57,6 +57,7 @@ Provisioning Simplex System Setup Partitions ${master_controller} ${lgv_name} ${nova_size} ... ${cgts_part_size} Configure Ceph ${master_controller} ${backend_type} + Configure Huge Page Size ${master_controller} Unlock Master Controller ${master_controller} Set Ceph Pool Replication Wait Until Keyword Succeeds 5 min 5 sec @@ -94,6 +95,7 @@ Provisioning Duplex System Setup Partitions ${master_controller} ${lgv_name} ${nova_size} ... ${cgts_part_size} Configure Ceph ${master_controller} ${backend_type} + Configure Huge Page Size ${master_controller} Unlock Master Controller ${master_controller} Wait Until Keyword Succeeds 5 min 5 sec ... Check Ceph Status @@ -108,6 +110,7 @@ Provisioning Duplex System Setup Partitions ${second_controller} ${lgv_name} ${nova_size} ... ${cgts_part_size} Configure Ceph ${second_controller} ${backend_type} + Configure Huge Page Size ${second_controller} Unlock Second Controller ${second_controller} Check Host Readiness ${second_controller} Wait Until Keyword Succeeds 5 min 5 sec @@ -165,6 +168,7 @@ Provisioning Standard Non-Storage System \ Configure Data Interfaces ${compute} ${data0if} ... ${data1if} ${physnet0} ${physnet1} ${mtu} \ Setup Cluster Host Interfaces ${compute} + \ Configure Huge Page Size ${compute} \ Unlock Compute ${compute} \ Check Host Readiness ${compute} 1 ## TO DO : HERE KEYWORD TO CHECK QUORUM ON CEPH @@ -236,6 +240,7 @@ Provisioning Standard Storage System ... ${data1if} ${physnet0} ${physnet1} ${mtu} \ Setup Partitions ${compute} ${lgv_name} ${nova_size_comp} ... ${cgts_part_size} True + \ Configure Huge Page Size ${compute} \ Unlock Compute ${compute} \ Check Host Readiness ${compute} 1 ## TO DO : HERE KEYWORD TO CHECK QUORUM ON CEPH