<div dir="ltr"><div>For cluster: </div><div><br></div>When I run the start-caoster-service, I receive the following, in which it asks for password and then says Permission is denied <div><br></div><div><div>Start-coaster-service...</div>
<div>Configuration: /home/lenovo/swift-cloud-tutorial/scs/coaster-service.conf</div><div>Service address: localhost</div><div>Starting coaster-service</div><div>Service port: 52809</div><div>Local port: 58460</div><div>Generating sites.xml</div>
<div>username@ipadress's password: </div><div>username@ipadress's password: </div><div>Starting worker on username@</div><div>lenovo@lenovo-laptop:~/swift-cloud-tutorial/scs$username@ipadress's password: </div>
<div>Permission denied, please try again.</div><div>username@ipadress's password: </div><div>Permission denied, please try again.</div><div>username@ipadress's password: </div><div>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).</div>
<div><br></div></div><div>This happens though I have created my keys with ssh-keygen. (only changed that I made was to create rsa keys rather than dsa keys - my cluster did not accept dsa). I can connect with rsa keygen and my passphrase for regular ssh</div>
<div><br></div><div>The output of my sites.xml  from this partial running of start-coaster-service is </div><div><br></div><div><div> <pool handle="persistent-coasters"></div><div>    <execution provider="coaster-persistent"</div>
<div>               url="<a href="http://localhost:37584">http://localhost:37584</a>"</div><div>               jobmanager="local:local"/></div><div>    <profile namespace="globus" key="workerManager">passive</profile></div>
<div>    <profile namespace="globus" key="jobsPerNode">1</profile></div><div>    <profile key="jobThrottle" namespace="karajan">10</profile></div><div>    <profile namespace="karajan" key="initialScore">10000</profile></div>
<div>    <filesystem provider="local" url="none" /></div><div>    <workdirectory>.</workdirectory></div><div>  </pool></div></div><div><br></div><div>Using this XML , I just get a sequence of job submission every 30 seconds, no finished jobs. </div>
<div><br></div><div><br></div><div>BTW, I have a public ip for my cluster and then each compute node has a local/private ip. </div><div>In </div><div> <span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px">export WORKER_HOSTS="<IP of machine 1> <IP of machine 2>"</span></div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px">currently I just set the public IP address which still I am not successful with this one node even. I was wondering how should I set the other IPs? Does it mean that I have to install swift on the cluster? </span></div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px">I will look at the new  release of swift for AWS.  </span></div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:12.7272720336914px"><br></span></div><div><br></div><div>Thanks, </div><div>J. </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 11:43 AM, Yadu Nand <span dir="ltr"><<a href="mailto:yadudoc1729@gmail.com" target="_blank">yadudoc1729@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Justin,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


​​Did you do the following steps: </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">export WORKER_LOCATION="/home/ubuntu"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


export WORKER_HOSTS="<IP of machine 1> <IP of machine 2>"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">export WORKER_USERNAME=ubuntu</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">and then run "source setup.sh" ? </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When you source the setup.sh scripts you must've gotten a sites.xml and a start-coaster-service.log in your scs folder, could you send us those ?</div>


<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The setup script should start a persistent coaster service and connect to the nodes on amazon, start workers, and generate a sites.xml file</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


that would let your swift scripts run across the amazon nodes. You shouldn't have to make changes to the sites.xml.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


 Alternatively, you could try using the beta release of swift, Swift 0.95 RC6 with the new cloud mechanism:<br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><a href="https://github.com/swift-lang/swift-on-cloud/tree/master/aws" target="_blank">https://github.com/swift-lang/swift-on-cloud/tree/master/aws</a></font></div>


<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">That will set you up with a headnode on AWS with a few worker nodes that you define, with everything setup to run swift.</font></div>


<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">


Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Yadu</div><div class="gmail_extra"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><br><br><div class="gmail_quote">
<div><div class="h5">

On Thu, Aug 28, 2014 at 6:57 PM, Justin bbt <span dir="ltr"><<a href="mailto:justinbbt@gmail.com" target="_blank">justinbbt@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div class="h5">

<div><div><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr">Hi all, <div><br></div><div>
 I could successfully run swift on my local system. </div><div>Next, I want to use the swift to run some jobs on a cluster.<br></div><div><br></div><div>I followed this tutorial.  (I am using just a simple cluster- I even could not run the job on one remote node of the cluster)  </div>




<div><a href="http://swift-lang.org/tutorials/cloud/tutorial.html" target="_blank">http://swift-lang.org/tutorials/cloud/tutorial.html</a> <br></div><div><br></div><div>But, I get this when I run swift p1.swift or other swift </div>



<div>
<br></div><div>Swift 0.94.1 swift-r7114 cog-r3803</div><div><br></div><div>RunID: 20140828-1758-ea4phzag</div><div>Progress:  time: Thu, 28 Aug 2014 17:58:15 -0400</div><div>Progress:  time: Thu, 28 Aug 2014 17:58:24 -0400  Submitted:1</div>




<div>Execution failed:</div><div><span style="white-space:pre-wrap">  </span>Exception in simulate:</div><div>    Arguments: []</div><div>    Host: remotehost2</div><div>    Directory: p1-20140828-1758-ea4phzag/jobs/7/simulate-7k2fxlvl</div>




<div><br></div><div>Caused by:</div><div><span style="white-space:pre-wrap">        </span>Job failed with an exit code of 127</div><div><span style="white-space:pre-wrap">      </span>simulation, p1.swift, line 9</div><div><br>
</div><div><br></div><div>--- this is my site.xml file setting </div><div><div><br></div><div>   <pool handle="remotehost2"></div><div>      <execution provider="ssh" jobmanager="ssh:local" url="myclusteturl"/></div>




<div>      <filesystem provider="ssh" url="myclusteturl"/></div><div>      <profile namespace="karajan" key="jobThrottle">0</profile></div><div>      <profile namespace="karajan" key="initialScore">10000</profile></div>




<div>      <workdirectory>/path/to/remote/workdirectory</workdirectory></div><div>   </pool></div></div><div><br></div><div>--- if I use this one </div><div><div><pool handle="persistent-coasters"></div>




<div>    <execution provider="coaster-persistent"</div><div>               url="myclusterurl"</div><div>               jobmanager="local:local"/></div><div>    <profile namespace="globus" key="workerManager">passive</profile></div>




<div>    <profile namespace="globus" key="jobsPerNode">1</profile></div><div>    <profile key="jobThrottle" namespace="karajan">10</profile></div><div>    <profile namespace="karajan" key="initialScore">10000</profile></div>




<div>    <filesystem provider="local" url="none" /></div><div>    <workdirectory>.l</workdirectory></div><div>  </pool></div></div><div>--- then it loops to my localhost and just repeat submitting the jobs </div>




<div><br></div><div>1. Is this a correct setting? </div><div>2. Should I use coaster? I could not understand the description in user guides and documentation about the concepts of coaster and the required setting. Is there any better tutorial which would describe the coaster ? </div>




<div>3. I plan to use the swift later on the cloud (Microsoft Azure). What are the setting required for that? for site.xml and if any other file </div><div><br></div><div><br></div><div>Thanks in Advance. </div><div> </div>




</div>
</blockquote></div><br></div></div>
</div></div><br></div></div>_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu" target="_blank">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote>
</div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>

<div dir="ltr">Yadu Nand B<div><br></div></div>
</font></span></div></div>
</blockquote></div><br></div>