[Swift-devel] ssh test case on pads/beagle
Mihael Hategan
hategan at mcs.anl.gov
Tue Aug 9 13:57:06 CDT 2011
Hmm: Unsupported passphrase algorithm: AES-128-CBC
I'll try to see how that can be fixed. In the mean time, can you
generate a new key pair with 3DES encryption instead and use that?
On Tue, 2011-08-09 at 13:43 -0500, Alberto Chavez wrote:
> Hello,
>
>
> I am trying to run a simpler case than ssh-pbs-coaster test case, and
> I'm still having the same error.
> Now I am running only ssh test case
> (/tests/providers/ssh/001-catsn-ssn.swift)
>
>
> The command line is:
> swift -config cf -tc.file tc.template.data -sites.file
> sites.template.xml 001-catsn-ssh.swift
>
>
> The output:
> Swift svn swift-r4861 (swift modified locally) cog-r3183
>
>
> RunID: 20110809-1336-ohte788a
> Progress: time: Tue, 09 Aug 2011 13:36:42 -0500
> Exception in cat:
> Arguments: [data.txt]
> Host: ssh
> Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/m/cat-mq74h7ek
> - - -
>
>
> Caused by: null
> Caused by:
> org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase
> Caused by:
> com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't
> read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase
> algorithm: AES-128-CBC
> Progress: time: Tue, 09 Aug 2011 13:36:43 -0500 Selecting site:8
> Submitting:1 Failed:1
> Exception in cat:
> Arguments: [data.txt]
> Host: ssh
> Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/n/cat-nq74h7ek
> - - -
>
>
> Caused by: null
> Caused by:
> org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase
> Caused by:
> com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't
> read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase
> algorithm: AES-128-CBC
> Progress: time: Tue, 09 Aug 2011 13:36:44 -0500 Selecting site:7
> Submitting:1 Failed:2
> Exception in cat:
> Arguments: [data.txt]
> Host: ssh
> Directory: 001-catsn-ssh-20110809-1336-ohte788a/jobs/o/cat-oq74h7ek
> - - -
>
>
> Caused by: null
> Caused by:
> org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase
> Caused by:
> com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't
> read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase
> algorithm: AES-128-CBC
> "error_log.log" 105L, 5770C
>
>
> My auth.defaults reads:
>
>
> login1.beagle.ci.uchicago.edu.type=key
> login1.beagle.ci.uchicago.edu.username=achavez
> login1.beagle.ci.uchicago.edu.key=/home/Alberto/.ssh/identity
>
>
> login1.pads.ci.uchicago.edu.type=key
> login1.pads.ci.uchicago.edu.username=achavez
> login1.pads.ci.uchicago.edu.key=/home/Alberto/.ssh/identity
>
>
>
>
> and it has been set to 600, I ommited the passphrase line, but it is
> there, and the passphrase is right because I just verified it in two
> ways:
> 1) by logging to pads and beagle without providing a password
> 2) "changed" the password. I the "new" password is the same as the
> "old" one.
>
> sites.templates.xml:
>
> <config>
> <pool handle="ssh">
> <execution provider="ssh" url="login1.pads.ci.uchicago.edu"
> jobmanager="ssh"/>
> <filesystem provider="ssh" url="login1.pads.ci.uchicago.edu" />
> <profile key="jobThrottle" namespace="karajan">0</profile>
> <workdirectory>/home/achavez/swiftwork</workdirectory>
> </pool>
> </config>
>
>
> config file:
>
> wrapperlog.always.transfer=true
> sitedir.keep=true
> execution.retries=0
> lazy.errors=true
> status.mode=provider
> use.provider.staging=true
> provider.staging.pin.swiftfiles=false
> foreach.max.threads=10
> provenance.log=true
>
>
>
>
>
> I also tried a simpler SwiftScript:
>
>
> type filemsg;
>
>
> app (filemsg output) hello(string s)
> {
> echo s stdout=@filename(output);
> }
>
>
> filemsg myfile<"dogcatdinosaur.out">;
> myfile = hello("dog,cat,dinosaur");
>
>
> and I get the following output:
>
>
> Swift svn swift-r4861 (swift modified locally) cog-r3183
>
>
> RunID: 20110809-1343-2es2hel2
> Progress: time: Tue, 09 Aug 2011 13:43:25 -0500
> Exception in echo:
> Arguments: [dog,cat,dinosaur]
> Host: ssh
> Directory: hello_swift-20110809-1343-2es2hel2/jobs/0/echo-0oldh7ek
> - - -
>
>
> Caused by: null
> Caused by:
> org.globus.cog.abstraction.impl.common.task.InvalidSecurityContextException: Invalid private key or passphrase
> Caused by:
> com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Can't
> read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase
> algorithm: AES-128-CBC
> Final status: time: Tue, 09 Aug 2011 13:43:26 -0500 Failed:1
> The following errors have occurred:
> 1. Can't read key due to cryptography problems:
> java.security.NoSuchAlgorithmException: Unsupported passphrase
> algorithm: AES-128-CBC
>
>
>
>
> any thoughts on this?
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
More information about the Swift-devel
mailing list