[jira] [Commented] (AIRAVATA-3051) Output files configured with wildcard is not brought back and displayed in the Django summary page.

2019-06-02 Thread Dimuthu Upeksha (JIRA)


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

Dimuthu Upeksha commented on AIRAVATA-3051:
---

Fixed in 
[https://github.com/apache/airavata/commit/d4a209d042dd36fe9f86a706e783c3c3ee8a6ec8]

> Output files configured with wildcard is not brought back and displayed in 
> the Django summary page.
> ---
>
> Key: AIRAVATA-3051
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3051
> Project: Airavata
>  Issue Type: Sub-task
>  Components: Django Portal
>Affects Versions: 0.18
> Environment: https://beta-sciencegateway.brylinski.org
>Reporter: Eroma
>Assignee: Marcus Christie
>Priority: Major
> Attachments: Screen Shot 2019-05-30 at 8.40.01 AM.png, Screen Shot 
> 2019-05-30 at 8.40.08 AM.png, Screen Shot 2019-05-30 at 8.42.46 AM.png
>
>
> # Submitted a job with an application where there are 5 output files.
>  # The defined outputs are STDERR. STDOUT and two specifically defined (full 
> output file name given) tar files and another tar file defined with wildcard 
> (*.tar)
>  # The job was successfully completed and all the files are available in the 
> working directory.
>  # In the PGA storage only the files which the defined with the complete name 
> was brought back.
>  # STDOUT, STDERR and the wild card output file is not in the storage.
>  # Hence they are not displayed and downloadable in the summary page.
>  # Apart from this in output section of the summary page there are paths 
> given to all the .tar files as a string.
>  # Please see all the images attached to this.
>  # exp ID: 
> eFindSite_on_May_30,_2019_1:38_AM_85ab2ab9-a1c0-427c-9fb3-ccde9facd8f1
> h5. TODO
> * [ ] Don't display an experiment output entry when the type if URI but the 
> value is not a data product URI



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


[jira] [Assigned] (AIRAVATA-3051) Output files configured with wildcard is not brought back and displayed in the Django summary page.

2019-06-02 Thread Dimuthu Upeksha (JIRA)


 [ 
https://issues.apache.org/jira/browse/AIRAVATA-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dimuthu Upeksha reassigned AIRAVATA-3051:
-

Assignee: Dimuthu Upeksha  (was: Marcus Christie)

> Output files configured with wildcard is not brought back and displayed in 
> the Django summary page.
> ---
>
> Key: AIRAVATA-3051
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3051
> Project: Airavata
>  Issue Type: Sub-task
>  Components: Django Portal
>Affects Versions: 0.18
> Environment: https://beta-sciencegateway.brylinski.org
>Reporter: Eroma
>Assignee: Dimuthu Upeksha
>Priority: Major
> Attachments: Screen Shot 2019-05-30 at 8.40.01 AM.png, Screen Shot 
> 2019-05-30 at 8.40.08 AM.png, Screen Shot 2019-05-30 at 8.42.46 AM.png
>
>
> # Submitted a job with an application where there are 5 output files.
>  # The defined outputs are STDERR. STDOUT and two specifically defined (full 
> output file name given) tar files and another tar file defined with wildcard 
> (*.tar)
>  # The job was successfully completed and all the files are available in the 
> working directory.
>  # In the PGA storage only the files which the defined with the complete name 
> was brought back.
>  # STDOUT, STDERR and the wild card output file is not in the storage.
>  # Hence they are not displayed and downloadable in the summary page.
>  # Apart from this in output section of the summary page there are paths 
> given to all the .tar files as a string.
>  # Please see all the images attached to this.
>  # exp ID: 
> eFindSite_on_May_30,_2019_1:38_AM_85ab2ab9-a1c0-427c-9fb3-ccde9facd8f1
> h5. TODO
> * [ ] Don't display an experiment output entry when the type if URI but the 
> value is not a data product URI



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


[jira] [Created] (AIRAVATA-3058) Cascade delete of app catalog entries

2019-06-02 Thread Suresh Marru (JIRA)
Suresh Marru created AIRAVATA-3058:
--

 Summary: Cascade delete of app catalog entries 
 Key: AIRAVATA-3058
 URL: https://issues.apache.org/jira/browse/AIRAVATA-3058
 Project: Airavata
  Issue Type: Improvement
  Components: Airavata API, Registry API
Affects Versions: 0.17
Reporter: Suresh Marru
 Fix For: 0.18


Deleting linked records in app catalog like storage and compute resources have 
adverse effects when they have actively used references. For instance, deleting 
a storage resource used by a gateway will fail queried to fetch gateway 
preferences. A solution will be to check all usages of a resource before 
deleting. 

To start with we need to check for references in gateway preferences for 
storage and compute resources before we allow these to be deleted. 



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


[jira] [Commented] (AIRAVATA-2992) Experiment clone fails when original input files are not available

2019-06-02 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on AIRAVATA-2992:
---

Commit a4d540c838a90b3e023612a6d3c6048ef031782b in airavata-php-gateway's 
branch refs/heads/dreg-gateway from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-php-gateway.git;h=a4d540c ]

AIRAVATA-2992 Ignore non-existent input file replicas when cloning


> Experiment clone fails when original input files are not available
> --
>
> Key: AIRAVATA-2992
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2992
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Reporter: Marcus Christie
>Assignee: Marcus Christie
>Priority: Major
>
> Error message:
> {noformat}
> Failed to clone experiment: 
> copy(/var/www/portals/gateway-user-data/simvascular/sveroma2017/TestProjectApril2018/Clone_of_Test_Sim11524605337/bct.dat):
>  
> failed to open stream: No such file or directory
> {noformat}



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


[jira] [Commented] (AIRAVATA-2992) Experiment clone fails when original input files are not available

2019-06-02 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on AIRAVATA-2992:
---

Commit 8915e4063b7f93cd648d87e7b5ce2e375e9dbb50 in airavata-php-gateway's 
branch refs/heads/dreg-gateway from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-php-gateway.git;h=8915e40 ]

AIRAVATA-2992 Skip display of experiment inputs that are null


> Experiment clone fails when original input files are not available
> --
>
> Key: AIRAVATA-2992
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2992
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Reporter: Marcus Christie
>Assignee: Marcus Christie
>Priority: Major
>
> Error message:
> {noformat}
> Failed to clone experiment: 
> copy(/var/www/portals/gateway-user-data/simvascular/sveroma2017/TestProjectApril2018/Clone_of_Test_Sim11524605337/bct.dat):
>  
> failed to open stream: No such file or directory
> {noformat}



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


[jira] [Commented] (AIRAVATA-2995) Cloned experiment was able to submit without mandatory input files.

2019-06-02 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on AIRAVATA-2995:
---

Commit 6f7d3b589e0804aacfd54eb4d8b4c4705bf1cb4f in airavata-php-gateway's 
branch refs/heads/dreg-gateway from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-php-gateway.git;h=6f7d3b5 ]

AIRAVATA-2995 Require input when file doesn't exist


> Cloned experiment was able to submit without mandatory input files.
> ---
>
> Key: AIRAVATA-2995
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2995
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.18
> Environment: https://gateway.simvascular.org
>Reporter: Eroma
>Assignee: Marcus Christie
>Priority: Major
> Fix For: 0.18
>
>
> # Cloned an expriment without input files (files removed as part of strage 
> cleaning process)
>  # The new cloned one 
> (Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b) was able to save 
> and launch without the input files.
>  # experiment in CREATED, not moving further or failing.
>  # Error in api log  : 2019-03-13 01:47:35,348 [pool-31-thread-5] ERROR 
> o.a.a.o.s.OrchestratorServerHandler 
> experiment_id=Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b, 
> gateway_id=simvascular - Experiment launch failed due to Thrift conversion 
> error, experimentId: Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b, 
> gatewayId: simvascular
> org.apache.thrift.TException: Experiment 
> 'Clone_of_Test-Sim1_3bd871fa-09b6-494e-b71b-811ce548880b' launch failed. 
> Unable to figureout execution type for application 
> SimVascular_3fe8243b-0191-499e-a2ec-9d77fde9ce36
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:251)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:666)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.access$500(OrchestratorServerHandler.java:76)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler$ExperimentHandler.onMessage(OrchestratorServerHandler.java:622)
>  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: java.lang.NullPointerException: null
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.lambda$launchExperiment$2(OrchestratorServerHandler.java:178)
>  at 
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
>  at 
> java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
>  at 
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.launchExperiment(OrchestratorServerHandler.java:177)
>  ... 9 common frames omitted



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