Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2621

SSH port provided in compute resource registration is not considered for cluster SSH communication

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dimuthuupe Dimuthu
              eroma_a Eroma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: