Do not print stack list 06/54206/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 2 Apr 2017 05:11:40 +0000 (22:11 -0700)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 2 Apr 2017 05:12:33 +0000 (22:12 -0700)
These stack lists were useful for debugging while creating the stack
retry script however is a bit too spammy in logs. Let's remove them
until we need them again.

Change-Id: I9f3c1da114ef42439622c0a81ff3fa3b50c501d7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/opendaylight-infra-stack.sh

index ae190704da87856fb134395bf516ef175d378638..bb411f54e44943bab51cbf96e4e782bfebc14120 100644 (file)
@@ -22,7 +22,6 @@ echo "Trying up to $STACK_RETRIES times to create $STACK_NAME."
 for try in $(seq $STACK_RETRIES); do
     # shellcheck disable=SC1083
     openstack stack create --timeout "$OS_TIMEOUT" -t {stack-template} -e "$WORKSPACE/opendaylight-infra-environment.yaml" --parameter "job_name=$VM_NAME" --parameter "silo=$SILO" "$STACK_NAME"
-    openstack stack list
     echo "$try: Waiting for $OS_TIMEOUT minutes to create $STACK_NAME."
     for i in $(seq $OS_TIMEOUT); do
         sleep 60
@@ -37,7 +36,6 @@ for try in $(seq $STACK_RETRIES); do
             ;;
             CREATE_FAILED)
                 echo "ERROR: Failed to initialize infrastructure. Deleting stack and possibly retrying to create..."
-                openstack stack list
                 openstack stack delete --yes "$STACK_NAME"
                 openstack stack show "$STACK_NAME"
                 # after stack delete, poll for 10m to know when stack is fully removed