Skip to content

Commit

Permalink
ASC-1655 Enable Ceph Scenario
Browse files Browse the repository at this point in the history
Update "run_mnaio_playbook" function to support Ceph as a backend when
depoying if the "RE_JOB_SCENARIO" is set to "ceph".
  • Loading branch information
ryan-rs committed Feb 19, 2019
1 parent 6cd89ce commit d1fe516
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gating/mnaio_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ if [[ "${RPCO_IMAGES_AVAILABLE}" == "false" ]] || [[ "${RE_JOB_ACTION}" == "depl
export DEPLOY_VMS="true"
fi

# Enable Ceph deployment if specified by the job scenario.
if [[ "${RE_JOB_SCENARIO}" == "ceph" ]] ]]; then
export ENABLE_CEPH_STORAGE="true"
fi

#
# Non-MNAIO RPC Specific settings
#
Expand Down Expand Up @@ -95,6 +100,7 @@ function run_mnaio_playbook() {
-e container_tech=${CONTAINER_TECH:-"lxc"} \
-e ipxe_kernel_base_url=${IPXE_KERNEL_BASE_URL:-"http://boot.ipxe.org"} \
-e ipxe_path_url=${IPXE_PATH_URL:-""} ${MNAIO_ANSIBLE_PARAMETERS} \
-e enable_ceph_storage=${ENABLE_CEPH_STORAGE:-"false"} \
--force-handlers \
--flush-cache \
$@
Expand Down

0 comments on commit d1fe516

Please sign in to comment.