Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3024 Django Portal Experiment Creation & Summary related issues/changes
  3. AIRAVATA-3236

BUG: Experiment launch failed due to non existing job submission interface, but not communicated to the gateway

    XMLWordPrintableJSON

Details

    Description

      1. Saved and launched an experiment but with compute resource configuration which was missing job submission interface.
      2. Th experiment remained in CREATED but it failed in the back end with API server errors [1].
      3. Such failures need to be propagated to the Django portal.

      [1]
      2019-10-18 15:00:25,520 [pool-31-thread-109] ERROR o.a.a.o.s.OrchestratorServerHandler experiment_id=File_to_Study_Carrel_on_Oct_18,_2019_10:56_AM_107d3099-909d-45b6-a97d-bfab1e55f077, gateway_id=distantr - Experiment launch failed due to Thrift conversion error, experimentId: File_to_Study_Carrel_on_Oct_18,_2019_10:56_AM_107d3099-909d-45b6-a97d-bfab1e55f077, gatewayId: distantr
      org.apache.thrift.TException: Experiment ‘File_to_Study_Carrel_on_Oct_18,_2019_10:56_AM_107d3099-909d-45b6-a97d-bfab1e55f077’ launch failed. Unable to figureout execution type for application File_to_Study_Carrel_1d0b43bf-093e-4edf-9d88-71ec732355b6
      at org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:263)
      at org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:723)
      at org.apache.airavata.orchestrator.server.OrchestratorServerHandler.access$500(OrchestratorServerHandler.java:77)
      at org.apache.airavata.orchestrator.server.OrchestratorServerHandler$ExperimentHandler.onMessage(OrchestratorServerHandler.java:677)
      at org.apache.airavata.messaging.core.impl.ExperimentConsumer.handleDelivery(ExperimentConsumer.java:84)
      at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)
      at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)
      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: org.apache.airavata.orchestrator.core.exception.OrchestratorException: Error during creating process
      at org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl.createAndSaveTasks(SimpleOrchestratorImpl.java:358)
      at org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:231)
      ... 9 common frames omitted
      Caused by: org.apache.airavata.orchestrator.core.exception.OrchestratorException: Error occurred while retrieving data from app catalog
      at org.apache.airavata.orchestrator.core.utils.OrchestratorUtils.getPreferredJobSubmissionInterface(OrchestratorUtils.java:237)
      at org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl.createAndSaveTasks(SimpleOrchestratorImpl.java:315)
      ... 10 common frames omitted
      Caused by: org.apache.airavata.orchestrator.core.exception.OrchestratorException: Compute resource should have at least one job submission interface defined...
      at org.apache.airavata.orchestrator.core.utils.OrchestratorUtils.getPreferredJobSubmissionInterface(OrchestratorUtils.java:233)
      ... 11 common frames omitted

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            eroma_a Eroma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: