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 <george.postolache@intel.com>
This commit is contained in:
Lemus Contreras, Cristopher J 2020-02-25 08:04:01 -08:00 committed by George Postolache
parent 56787cde18
commit 70c3583f76
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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 ---