[Swift-user] surveyor

Jonathan Monette jonmon at mcs.anl.gov
Tue Jan 24 18:17:12 CST 2012


That does not seem to work.  It never asks me for a password.  Below is the output from the terminal.  After the "[null]" characters are just cycling really fast.  If I type my OTP there it just starts over, as you can see the repeated attempts before the exception.

[jonmon at communicado: ~/Workspace/Swift/surveyor]$ swift -tc.file tc.data -sites.file sites.xml echo.swift 
Swift trunk swift-r5520 (swift modified locally) cog-r3354

RunID: 20120124-1813-0xh284fa
Progress:  time: Tue, 24 Jan 2012 18:13:48 -0600  Initializing:1
 [jonmon] 
 [null] 
Progress:  time: Tue, 24 Jan 2012 18:13:52 -0600  Initializing site shared directory:1
 [jonmon] 
 [null] 
Progress:  time: Tue, 24 Jan 2012 18:14:18 -0600  Initializing site shared directory:1
Progress:  time: Tue, 24 Jan 2012 18:14:20 -0600  Initializing site shared directory:1
 [jonmon]
 [null] 
EXCEPTION Could not initialize shared directory on surveyor
Caused by: null
Caused by: org.globus.cog.abstraction.impl.common.task.TaskSubmissionException: org.globus.cog.abstraction.impl.file.FileResourceException: Error while communicating with the SSH server on surveyor.alcf.anl.gov:22
Caused by: org.globus.cog.abstraction.impl.file.FileResourceException: Error while communicating with the SSH server on surveyor.alcf.anl.gov:22
Caused by: org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Password Authentication failed
Progress:  time: Tue, 24 Jan 2012 18:14:35 -0600  Failed:1
Execution failed:
	Password Authentication failed
On Jan 24, 2012, at 6:04 PM, Michael Wilde wrote:

> Jon, try configuring auth.defaults as you would for a password login, but dont specify a password. Swift should then prompt you for one (with a text prompt, assuming you are running Swift in a non-X setting).  E.g.:
> 
> login1.pads.ci.uchicago.edu.type=password
> login1.pads.ci.uchicago.edu.username=wilde
> 
> I dont know if the ssh provider will maintain a connection so that you only need to provide the OTP once. That might be an issue, if not.
> 
> - Mike
> 
> ----- Original Message -----
>> From: "Jonathan Monette" <jonmon at mcs.anl.gov>
>> To: "swift user" <swift-user at ci.uchicago.edu>
>> Sent: Tuesday, January 24, 2012 5:32:26 PM
>> Subject: [Swift-user] surveyor
>> Hello,
>> I am trying to run on survey from communicado. Below are the config
>> files. What other options are there for auth.defaults. I do not have
>> an ssh key set up on surveyor so I can't say
>> surveyor.alcf.anl.gov.type=key. The only other way to access surveyor
>> is with OTP. Since I am using surveyor as a stepping stone to
>> intrepid(which only has OTP) how do I specify to Swift to use OTP in
>> auth.defaults. I was trying to use the new ssh-cl provider but that is
>> only for execution. Swift complains about not being able to create the
>> share directory so I assumed I couldn't say <filesystem="local"/> so I
>> have been trying to change it to ssh.
>> 
>> sites.xml
>> =======
>> <config>
>> <pool handle="surveyor">
>> <execution provider="coaster" jobmanager="ssh-cl:cobalt"
>> url="surveyor.alcf.anl.gov" />
>> <filesystem provider="ssh" url="surveyor.alcf.anl.gov" />
>> <!-- <profile namespace="globus"
>> key="internalHostname">172.17.3.13</profile> -->
>> <profile namespace="globus" key="project">MTCScienceApps</profile>
>> <profile namespace="globus" key="queue">short</profile>
>> <profile namespace="globus" key="kernelprofile">zeptoos</profile>
>> <profile namespace="globus" key="alcfbgpnat">true</profile>
>> <profile namespace="karajan" key="jobthrottle">21</profile>
>> <profile namespace="karajan" key="initialScore">10000</profile>
>> <profile namespace="globus" key="jobsPerNode">1</profile>
>> <profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
>> <profile namespace="globus" key="slots">1</profile>
>> <profile namespace="globus" key="maxTime">900</profile> <!-- seconds
>> -->
>> <profile namespace="globus" key="nodeGranularity">64</profile>
>> <profile namespace="globus" key="maxNodes">64</profile>
>> <workdirectory>/home/jonmon/swift.workdir</workdirectory>
>> </pool>
>> </config>
>> 
>> tc
>> =======
>> surveyor echo /bin/echo INSTALLED INTEL32::LINUX
>> surveyor cat /bin/cat INSTALLED INTEL32::LINUX
>> surveyor ls /bin/ls INSTALLED INTEL32::LINUX
>> surveyor grep /bin/grep INSTALLED INTEL32::LINUX
>> surveyor sort /bin/sort INSTALLED INTEL32::LINUX
>> surveyor paste /bin/paste INSTALLED INTEL32::LINUX
>> surveyor wc /usr/bin/wc INSTALLED INTEL32::LINUX
>> 
>> swiftscirpt
>> ========
>> type file;
>> 
>> app (file o) echo()
>> {
>> echo "Hello World!!!" stdout=@o;
>> }
>> 
>> file output<"hello.txt">;
>> 
>> output = echo();
>> 
>> _______________________________________________
>> Swift-user mailing list
>> Swift-user at ci.uchicago.edu
>> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
> 
> -- 
> Michael Wilde
> Computation Institute, University of Chicago
> Mathematics and Computer Science Division
> Argonne National Laboratory
> 




More information about the Swift-user mailing list