From 70c3583f76ce30c47aeeea0f991cdffd6b68a72e Mon Sep 17 00:00:00 2001 From: "Lemus Contreras, Cristopher J" Date: Tue, 25 Feb 2020 08:04:01 -0800 Subject: [PATCH] Add Ceph Storage backend This change adds a keyword and configures Ceph to be used as storage backend during the Provision stage. Change-Id: I4d5d06c2bdece1f681bf255092be5a47c66057cb Story: 2007064 review: 707385 Signed-off-by: George Postolache --- automated-robot-suite/Resources/Provisioning.robot | 4 ++++ automated-robot-suite/Tests/Provision.robot | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/automated-robot-suite/Resources/Provisioning.robot b/automated-robot-suite/Resources/Provisioning.robot index 993bc7a..45554fa 100644 --- a/automated-robot-suite/Resources/Provisioning.robot +++ b/automated-robot-suite/Resources/Provisioning.robot @@ -102,6 +102,10 @@ Setup Partitions ... Add Physical Volume ${host} ${lgv_name} ... ${cgts_partition_uuid} +Configure Backend Ceph + [Documentation] Configure Ceph to be used as storage backend + Run Command system storage-backend-add ceph --confirmed True + Configure Ceph [Arguments] ${host} ${backend_type} [Documentation] Enable CEPH partition on the specified node diff --git a/automated-robot-suite/Tests/Provision.robot b/automated-robot-suite/Tests/Provision.robot index ab74dfa..7ab1ce6 100644 --- a/automated-robot-suite/Tests/Provision.robot +++ b/automated-robot-suite/Tests/Provision.robot @@ -50,6 +50,7 @@ Provisioning Simplex System Configure OAM Interface ${master_controller} Run Keyword If '${ENVIRONMENT}'=='baremetal' Run Keywords ... Set NTP Server AND Configure Vswitch Type + Configure Backend Ceph Configure Data Interfaces ${master_controller} ${data0if} ... ${data1if} ${physnet0} ${physnet1} ${mtu} Enable Containerized Services ${master_controller} @@ -89,6 +90,7 @@ Provisioning Duplex System Configure MGMT Interface ${master_controller} Run Keyword If '${ENVIRONMENT}'=='baremetal' Run Keywords ... Set NTP Server AND Configure Vswitch Type + Configure Backend Ceph Configure Data Interfaces ${master_controller} ${data0if} ... ${data1if} ${physnet0} ${physnet1} ${mtu} Enable Containerized Services ${master_controller} @@ -145,6 +147,7 @@ Provisioning Standard Non-Storage System Configure MGMT Interface ${master_controller} Run Keyword If '${ENVIRONMENT}'=='baremetal' Run Keywords ... Set NTP Server AND Configure Vswitch Type + Configure Backend Ceph Enable Containerized Services ${master_controller} Unlock Master Controller ${master_controller} # --- Installing Remaining Nodes --- @@ -208,6 +211,7 @@ Provisioning Standard Storage System Configure MGMT Interface ${master_controller} Run Keyword If '${ENVIRONMENT}'=='baremetal' Run Keywords ... Set NTP Server AND Configure Vswitch Type + Configure Backend Ceph Enable Containerized Services ${master_controller} Unlock Master Controller ${master_controller} # --- Installing Remaining Nodes ---