Browse code

Merge "Remove excessive verbosity to make log files easier to debug"

Jenkins authored on 2013/02/24 08:12:34
Showing 1 changed files
... ...
@@ -58,8 +58,8 @@ fi
58 58
 
59 59
 # get nova
60 60
 NOVA_ZIPBALL_URL=${NOVA_ZIPBALL_URL:-$(echo $NOVA_REPO | sed "s:\.git$::;s:$:/zipball/$NOVA_BRANCH:g")}
61
-wget $NOVA_ZIPBALL_URL -O nova-zipball --no-check-certificate
62
-unzip -o nova-zipball  -d ./nova
61
+wget -nv $NOVA_ZIPBALL_URL -O nova-zipball --no-check-certificate
62
+unzip -q -o nova-zipball  -d ./nova
63 63
 
64 64
 # install xapi plugins
65 65
 XAPI_PLUGIN_DIR=/etc/xapi.d/plugins/
... ...
@@ -76,8 +76,8 @@ if [[ "$ENABLED_SERVICES" =~ "q-agt" && "$Q_PLUGIN" = "openvswitch" ]]; then
76 76
     fi
77 77
     # get quantum
78 78
     QUANTUM_ZIPBALL_URL=${QUANTUM_ZIPBALL_URL:-$(echo $QUANTUM_REPO | sed "s:\.git$::;s:$:/zipball/$QUANTUM_BRANCH:g")}
79
-    wget $QUANTUM_ZIPBALL_URL -O quantum-zipball --no-check-certificate
80
-    unzip -o quantum-zipball  -d ./quantum
79
+    wget -nv $QUANTUM_ZIPBALL_URL -O quantum-zipball --no-check-certificate
80
+    unzip -q -o quantum-zipball  -d ./quantum
81 81
     cp -pr ./quantum/*/quantum/plugins/openvswitch/agent/xenapi/etc/xapi.d/plugins/* $XAPI_PLUGIN_DIR
82 82
 fi
83 83
 
... ...
@@ -386,18 +386,14 @@ fi
386 386
 WAIT_TILL_LAUNCH=${WAIT_TILL_LAUNCH:-1}
387 387
 COPYENV=${COPYENV:-1}
388 388
 if [ "$WAIT_TILL_LAUNCH" = "1" ]  && [ -e ~/.ssh/id_rsa.pub  ] && [ "$COPYENV" = "1" ]; then
389
-    echo "We're done launching the vm, about to start tailing the"
390
-    echo "stack.sh log. It will take a second or two to start."
391
-    echo
392
-    echo "Just CTRL-C at any time to stop tailing."
389
+    set +x
393 390
 
391
+    echo "VM Launched - Waiting for startup script"
394 392
     # wait for log to appear
395 393
     while ! ssh_no_check -q stack@$DOMU_IP "[ -e run.sh.log ]"; do
396 394
         sleep 10
397 395
     done
398
-
399
-    set +x
400
-    echo -n "Waiting for startup script to finish"
396
+    echo -n "Running"
401 397
     while [ `ssh_no_check -q stack@$DOMU_IP pgrep -c run.sh` -ge 1 ]
402 398
     do
403 399
         sleep 10