This patch is to make sure the test will be stop and report it failed.
JIRA: DOCTOR-63
Change-Id: Ibab577a100dee784df14e8b129fbde626d04fce9
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
grep "OS-EXT-SRV-ATTR:host" | awk '{ print $4 }' |
awk -F '.' '{print $1}')
)
+ if [[ -z "$COMPUTE_HOST" ]] ; then
+ echo "ERROR: failed to get compute hostname"
+ exit 1
+ fi
if [[ "$INSTALLER_TYPE" == "apex" ]] ; then
COMPUTE_USER=${COMPUTE_USER:-heat-admin}
if [[ "$INSTALLER_IP" == "none" ]] ; then