airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-3253) BUG: An experiment without input output files displayed directories and files in storage to select
Date Mon, 11 Nov 2019 22:14:00 GMT

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

Marcus Christie commented on AIRAVATA-3253:
-------------------------------------------

I think it is possible that the Django database had a data product id from before we re-did
the database migration a couple days before this error occurred.

I'll see if I can reproduce this locally. Essentially, to reproduce I'm thinking:
- add a file into data storage
- manipulate the database entry so that the data product uri is invalid: https://github.com/apache/airavata-django-portal/blob/master/django_airavata/apps/api/models.py#L37
- create an experiment and select that file

If that works to reproduce the issue, I'll add some code to ignore invalid data product uris
and just generate a new one

> BUG: An experiment without input output files displayed directories and files in storage
to select
> --------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3253
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3253
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://django.staging.seagrid.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.19
>
>         Attachments: Screen Shot 2019-11-03 at 2.35.56 AM.png, Screen Shot 2019-11-03
at 2.41.32 AM.png
>
>
> 1. Selected in experiment which has completed sucesfully but without files existing.
> (nd914_43a9172b-e613-4672-8bc6-d00cb0bda314)
> 2. Clicked on clone and then clicked on 'Select file from storage'
> 3. Directories were listed and selected a file from an old directory.
> 4. When the file was selected an exception were thrown
> AiravataSystemException(airavataErrorType=2, message='Error in retreiving the data product
airavata-dp://581272aa-246e-44c1-b5dd-e04457922342. More info : getDataProduct failed: unknown
result')
> 5. When the exception was closed the usr has no way of uploading a file as the option
was gone.
> 6. This creates an experiment without input files and throws an error when tried to view
it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message