Adding extra-vars needed for deployment of queens/rocky

1. Added containerized_overcloud for queens
2. Set containerized_overcloud and undercloud for rocky
3. Set ntp server to clock.corp.redhat.com for rocky as
   rocky builds fail on uc deployment while NTP syncing.

Change-Id: I77434b104ab48eec097b28da92cc7fe93f6cfc79
This commit is contained in:
agopi 2018-11-07 14:30:38 -05:00 committed by Aakarsh
parent 7bc805ef08
commit 6746c0c948
2 changed files with 19 additions and 0 deletions

View File

@ -57,6 +57,11 @@ if [ ! -z ${current_build+x} ]
fi
fi
# For queens onwards we need a containerized_overcloud
if [[ $RELEASE == "queens" ]]
then
export VARS="$VARS --extra-vars containerized_overcloud=true"
fi
#used to ensure concurrent jobs on the same executor work
socketdir=$(mktemp -d /tmp/sockXXXXXX)

View File

@ -60,6 +60,20 @@ if [ ! -z ${current_build+x} ]
fi
fi
# For queens onwards we need a containerized_overcloud
if [[ $RELEASE == "queens" ]]
then
export VARS="$VARS --extra-vars containerized_overcloud=true"
fi
# For rocky we need a containerized_overcloud and undercloud
if [[ $RELEASE == "rocky" ]]
then
export VARS="$VARS --extra-vars containerized_overcloud=true \
--extra-vars containerized_undercloud=true \
--extra-vars undercloud_ntp_servers=clock.corp.redhat.com"
fi
#Adding extra vars to deploy cloud with ovn
#if the job is an ovn job
if [[ $TOOL == ovn ]]