Eroma created AIRAVATA-2248:
-------------------------------

             Summary: In absence of compute resource preferences of gateway for 
a particular resource, job submission through individual preferences not working
                 Key: AIRAVATA-2248
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2248
             Project: Airavata
          Issue Type: Bug
          Components: Airavata System, PGA PHP Web Gateway
    Affects Versions: 0.17-SNAPSHOT
         Environment: https://dev.seagrid.org
            Reporter: Eroma


In absence of compute resource preferences of gateway for a particular 
resource, job submission through individual preferences not working

Steps
1. Removed the gateway compute resource preference (community account details) 
for BR2
2. Launched an experiment with individual preferences (using individual account 
in BR2)
3. Experiment launch failed with errors [1] in api-orch log

[1]
2016-12-01 15:12:23 [pool-13-thread-5] INFO o.a.a.m.c.impl.ExperimentConsumer - 
 Message Received with message id 
'LAUNCH.EXP-d36b71cb-1b44-4d46-9a73-0ca9c1f52335' and with message type 
'EXPERIMENT'  for experimentId: 
Gaussian_BR2_69f2aa92-bef1-4006-aa0f-b51edf86dc37
2016-12-01 15:12:23 [pool-13-thread-5] INFO o.a.a.o.s.OrchestratorServerHandler 
- Launching experiment with experimentId: 
Gaussian_BR2_69f2aa92-bef1-4006-aa0f-b51edf86dc37 gateway Id: seagrid
2016-12-01 15:12:23 [pool-13-thread-5] ERROR 
o.a.a.o.s.OrchestratorServerHandler - Experiment launch failed due to Thrift 
conversion error, experimentId: 
Gaussian_BR2_69f2aa92-bef1-4006-aa0f-b51edf86dc37, gatewayId: seagrid
org.apache.thrift.TException: Experiment 
'Gaussian_BR2_69f2aa92-bef1-4006-aa0f-b51edf86dc37' launch failed. Unable to 
figureout execution type for application 
Gaussian_377feede-4d67-4065-984f-284d05c7d32d
        at 
org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:245)
        at 
org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:648)
        at 
org.apache.airavata.orchestrator.server.OrchestratorServerHandler.access$500(OrchestratorServerHandler.java:76)
        at 
org.apache.airavata.orchestrator.server.OrchestratorServerHandler$ExperimentHandler.onMessage(OrchestratorServerHandler.java:604)
        at 
org.apache.airavata.messaging.core.impl.ExperimentConsumer.handleDelivery(ExperimentConsumer.java:85)
        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:745)
Caused by: java.lang.NullPointerException: null
        at 
org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:156)
        ... 9 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to