airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Upeksha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2621) SSH port provided in compute resource registration is not considered for cluster SSH communication
Date Wed, 17 Jan 2018 19:01:00 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329205#comment-16329205
] 

Dimuthu Upeksha commented on AIRAVATA-2621:
-------------------------------------------

Fix will look for the SSHJobSumission instances for a compute resource if the job submission
protocol is SSH. If it can find an instance, it will override the the host name an port of
the ServerInfo bean with the alternateHostName and the port of the SSHJobSubmission instance.

> SSH port provided in compute resource registration is not considered for cluster SSH
communication
> --------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2621
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2621
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>    Affects Versions: 0.18
>         Environment: https://hpcgateway.gsu.edu/
> https://scigap.org/
>            Reporter: Eroma
>            Assignee: Dimuthu Upeksha
>            Priority: Major
>             Fix For: 0.18
>
>
> 1. Added a specific port for job submissions (15022)
> 2. But when submitting jobs, for environment creation, the gfac is using the default
22 port, not the specified one in scigap.org for hpclogin.gsu.edu.
> 3. log messages in airavata log
> 2017-12-19 11:13:18,996 [pool-7-thread-2] INFO  o.a.airavata.gfac.impl.Factory process_id=PROCESS_3b471b3b-5b4e-4b6d-a66e-554652a390d2,
token_id=35da840b-63d5-4cbf-b9ce-3005cd94d961, experiment_id=NWChem2_a38ac303-666f-4dea-9b4c-7bffe0f97dd7,
gateway_id=georgiastate - Initialize a new SSH session for :airavata_hpclogin.gsu.edu_22_35da840b-63d5-4cbf-b9ce-3005cd94d961
> 2017-12-19 11:15:26,272 [pool-7-thread-2] ERROR o.a.a.gfac.core.GFacException process_id=PROCESS_3b471b3b-5b4e-4b6d-a66e-554652a390d2,
token_id=35da840b-63d5-4cbf-b9ce-3005cd94d961, experiment_id=NWChem2_a38ac303-666f-4dea-9b4c-7bffe0f97dd7,
gateway_id=georgiastate - JSch initialization error
> com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out (Connection
timed out)
>         at com.jcraft.jsch.Util.createSocket(Util.java:349)
>         at com.jcraft.jsch.Session.connect(Session.java:215)
>         at com.jcraft.jsch.Session.connect(Session.java:183)
>         at org.apache.airavata.gfac.impl.Factory.getSSHSession(Factory.java:542)
>         at org.apache.airavata.gfac.impl.HPCRemoteCluster.getSshSession(HPCRemoteCluster.java:138)
>         at org.apache.airavata.gfac.impl.HPCRemoteCluster.getSession(HPCRemoteCluster.java:315)
>         at org.apache.airavata.gfac.impl.HPCRemoteCluster.makeDirectory(HPCRemoteCluster.java:242)
>         at org.apache.airavata.gfac.impl.task.EnvironmentSetupTask.execute(EnvironmentSetupTask.java:51)
>         at org.apache.airavata.gfac.impl.GFacEngineImpl.executeTask(GFacEngineImpl.java:814)
>         at org.apache.airavata.gfac.impl.GFacEngineImpl.configureWorkspace(GFacEngineImpl.java:553)
>         at org.apache.airavata.gfac.impl.GFacEngineImpl.executeTaskListFrom(GFacEngineImpl.java:324)
>         at org.apache.airavata.gfac.impl.GFacEngineImpl.executeProcess(GFacEngineImpl.java:286)
>         at org.apache.airavata.gfac.impl.GFacWorker.executeProcess(GFacWorker.java:227)
>         at org.apache.airavata.gfac.impl.GFacWorker.run(GFacWorker.java:86)
>         at org.apache.airavata.common.logging.MDCUtil.lambda$wrapWithMDC$0(MDCUtil.java:40)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
>         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>         at java.net.Socket.connect(Socket.java:589)
>         at java.net.Socket.connect(Socket.java:538)
>         at java.net.Socket.<init>(Socket.java:434)
>         at java.net.Socket.<init>(Socket.java:211)
>         at com.jcraft.jsch.Util.createSocket(Util.java:343)
>         ... 17 common frames omitted
> ?NWChem2_a38ac303-666f-4dea-9b4c-7bffe0f97dd7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message