[Swift-commit] r7669 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Sun Mar 9 17:27:40 CDT 2014


Author: ketan
Date: 2014-03-09 17:27:40 -0500 (Sun, 09 Mar 2014)
New Revision: 7669

Modified:
   SwiftApps/cloud/README
   SwiftApps/cloud/addnodes
   SwiftApps/cloud/coaster-service.conf
Log:
README improvements

Modified: SwiftApps/cloud/README
===================================================================
--- SwiftApps/cloud/README	2014-03-09 22:01:45 UTC (rev 7668)
+++ SwiftApps/cloud/README	2014-03-09 22:27:40 UTC (rev 7669)
@@ -255,6 +255,24 @@
 
 a. Swift not found: Check your `PATH` and make sure the `bin` directory of Swift installation is added to `PATH`.
 b. Swift run shows no progress in task execution: Check if the EC2 instances are running via `ec2-describe-instances`.
-c. Swift runs fail: Check if ports are open between submithost and cloud instance.
+c. Swift runs fail: Check if ports are open between submithost and cloud instance:
 
+----
+ec2-describe-security-groups $(ec2-describe-instances | grep 'RESERVATION' | awk '{print $4}')
+----
+
+The output will look similar to (some fields are removed for brevity):
+
+----
++--------------+-----------+----------+------------+----------+--------+
+|   ownerId    | groupName | groupDesc| ipProtocol | fromPort | toPort |
++--------------+-----------+----------+------------+----------+--------+
+| 046798482406 | Swift     |for Swift |            |          |        |
+|              |           |          | tcp        | 22       | 22     |
+|              |           |          | tcp        | 50000    | 51000  |
++--------------+-----------+----------+------------+----------+--------+
+----
+
+Above output shows the group description for the security groups associated with your running instances.
+
 Feel free to contact Swift http://swift-lang.org/support/index.php[support] if issues persist.

Modified: SwiftApps/cloud/addnodes
===================================================================
--- SwiftApps/cloud/addnodes	2014-03-09 22:01:45 UTC (rev 7668)
+++ SwiftApps/cloud/addnodes	2014-03-09 22:27:40 UTC (rev 7669)
@@ -57,7 +57,7 @@
     #ec2-run-instance -k <key-name> -n 1 -g <groupname> --instance-type <type> <ami-id>
     runinst=$(ec2-run-instance -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" --instance-type t1.micro "$EC2AMI")
     echo "Waiting for instances to start"
-    sleep 90
+    sleep 60
     for i in $(echo $runinst | grep -o '\bi-........\b'); do
         ip=$(ec2din $i | grep 'running' | awk '{print $15}')
         start_worker_ssh $ip 

Modified: SwiftApps/cloud/coaster-service.conf
===================================================================
--- SwiftApps/cloud/coaster-service.conf	2014-03-09 22:01:45 UTC (rev 7668)
+++ SwiftApps/cloud/coaster-service.conf	2014-03-09 22:27:40 UTC (rev 7669)
@@ -51,7 +51,7 @@
 #app cat=/bin/cat
 #app bash=/bin/bash
 #app echo=/bin/echo
-export WORKERURL="http://localhost:50001"
+export WORKERURL="http://localhost:50003"
 export PID_FILE="/homes/ketan/.swift/.coaster-service-pids"
 export LOG="start-coaster-service.log"
-export LOCAL_PORT="50001"
+export LOCAL_PORT="50003"




More information about the Swift-commit mailing list