[Swift-user] Error with SSH and SSH-CL

Yadu Nand yadudoc1729 at gmail.com
Thu Apr 2 19:00:01 CDT 2015


Hi Justin,

Could you send me a tarball of the configs and the log files generated ?

Meanwhile, could you try the configs from the test-suite for the MCS
systems ?
https://github.com/swift-lang/swift-k/tree/release-0.95-swift/tests/sites/mcs
You would need the sites.template.xml, swift.properties and
tc.template.data.

Thanks,
Yadu


On Mon, Mar 30, 2015 at 4:10 PM, Scherer, Justin C. <jscherer at anl.gov>
wrote:

> I have been trying to get the simple hello.swift script to run on a remote
> host that I have set up with another researcher. I will post my sites.xml,
> config file, and tc.data files along with this message. After going through
> all of the steps to get ssh to work, I get the following error  for running
> it in ssh mode:
>
> RunID: 20150330-1550-ut0jr8rf
> Progress:  time: Mon, 30 Mar 2015 15:50:36 -0500
> Execution failed:
>         Could not initialize shared directory on remotehost
> Caused by:
>         org.globus.cog.abstraction.impl.file.FileResourceException: Error
> while communicating with the SSH server on 146.137.66.189:22
> Caused by:
>         Invalid private key or passphrase
> Caused by:
>         Can't read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase algorithm:
> AES-128-CBC
>         greeting, hello.swift, line 9
>
> I tried both the dsa algorithm and putting in the rsa algorithm for this.
> Here is my sites.xml for this:
>
> <config>
>   <pool handle="remotehost">
>     <execution provider="coaster" jobmanager="ssh:local" url="<blanked out
> for obvious reasons>"/>
>     <filesystem provider="ssh" url="146.137.66.189"/>
>     <profile namespace="karajan" key="jobThrottle">0</profile>
>     <profile namespace="karajan" key="initialScore">10000</profile>
>     <workdirectory>/home/swift-user/temp</workdirectory>
>   </pool>
> </config>
>
> also, here is the tc.data file:
>
> #This is the transformation catalog.
> #
> #It comes pre-configured with a number of simple transformations with
> #paths that are likely to work on a linux box. However, on some systems,
> #the paths to these executables will be different (for example, sometimes
> #some of these programs are found in /usr/bin rather than in /bin)
> #
> #NOTE WELL: fields in this file must be separated by tabs, not spaces; and
> #there must be no trailing whitespace at the end of each line.
> #
> # sitename  transformation  path   INSTALLED  platform  profiles
> localhost       echo    /bin/echo       INSTALLED       INTEL32::LINUX
> null
> localhost       cat     /bin/cat        INSTALLED       INTEL32::LINUX
> null
> localhost       ls      /bin/ls         INSTALLED       INTEL32::LINUX
> null
> localhost       grep    /bin/grep       INSTALLED       INTEL32::LINUX
> null
> localhost       sort    /bin/sort       INSTALLED       INTEL32::LINUX
> null
> localhost       paste   /bin/paste      INSTALLED       INTEL32::LINUX
> null
> localhost       cp      /bin/cp         INSTALLED       INTEL32::LINUX
> null
> localhost       touch   /bin/touch      INSTALLED       INTEL32::LINUX
> null
> localhost       wc      /usr/bin/wc     INSTALLED       INTEL32::LINUX
> null
> localhost       sleep   /bin/sleep      null    null    null
> remotehost      echo    /bin/echo       INSTALLED       INTEL32::LINUX
> null
>
> and the configuration file is exactly like what is shown in the
> documentation.
>
> If I try to do the ssh-cl interface, I get the following error:
>
> RunID: 20150330-1529-4b3sr1u4
> Progress:  time: Mon, 30 Mar 2015 15:29:20 -0500
> Execution failed:
>         Exception in echo:
>     Arguments: [Hello, world!]
>     Host: remotehost
>     Directory: hello-20150330-1529-4b3sr1u4/jobs/c/echo-c3z4un6m
>
> Caused by:
>         Could not submit job
> Caused by:
>         Could not start coaster service
> Caused by:
>         java.lang.NullPointerException
>         at
> org.globus.cog.abstraction.impl.execution.coaster.AutoCA.ensureCACertsExist(AutoCA.java:143)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.AutoCA.createProxy(AutoCA.java:128)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.setupGSIProxy(ServiceManager.java:238)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.startService(ServiceManager.java:194)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.reserveService(ServiceManager.java:132)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.ServiceManager.reserveService(ServiceManager.java:151)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.JobSubmissionTaskHandler.getChannel(JobSubmissionTaskHandler.java:119)
>         at
> org.globus.cog.abstraction.impl.execution.coaster.JobSubmissionTaskHandler.submit(JobSubmissionTaskHandler.java:105)
>         at
> org.globus.cog.abstraction.impl.common.AbstractTaskHandler.submit(AbstractTaskHandler.java:45)
>         at
> org.globus.cog.karajan.scheduler.submitQueue.NonBlockingSubmit.run(NonBlockingSubmit.java:97)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
>
>         greeting, hello.swift, line 9
>
> There is no shared folder, so I have to use scheduling.
>
> I am using Swift version 0.94.1 from the main website. Any help is
> appreciated. Thank you!
>
> Justin Scherer
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
>



-- 
Yadu Nand B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20150402/bf2df6e4/attachment.html>


More information about the Swift-user mailing list