Set INTROSPECT_NODES before calling register-nodes
The register-nodes in tripleo.sh is expecting INTROSPECT_NODES to be set in order to actually introspect the nodes. This sets it, then unsets after the --register-nodes call so that it doesn't leak anywhere. Change-Id: I6f39a19f51ad94c9ad541856083991d98ee63a52 Closes-Bug: #1659931
This commit is contained in:
parent
88906199a1
commit
f1c9600b25
|
@ -211,7 +211,12 @@ if [ "$OSINFRA" = "0" ]; then
|
|||
record_metric "tripleo.overcloud.${TOCI_JOBTYPE}.image.size_mb" "$OVERCLOUD_IMAGE_MB"
|
||||
|
||||
start_metric "tripleo.register.nodes.seconds"
|
||||
if [ $INTROSPECT == 1 ]; then
|
||||
export INTROSPECT_NODES=1
|
||||
fi
|
||||
$TRIPLEO_ROOT/tripleo-ci/scripts/tripleo.sh --register-nodes
|
||||
# We don't want to keep this set for further calls to tripleo.sh
|
||||
unset INTROSPECT_NODES
|
||||
stop_metric "tripleo.register.nodes.seconds"
|
||||
|
||||
if [ $INTROSPECT == 1 ] ; then
|
||||
|
|
Loading…
Reference in New Issue