You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2021/05/12 13:05:00 UTC

[jira] [Updated] (AIRAVATA-3462) Group resource profile (GRP) not found error when user's most recent GRP is deleted

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

Marcus Christie updated AIRAVATA-3462:
--------------------------------------
    Description: 
The WorkspacePreferences keeps track of the most recently used group resource profile that a user has used and tries to use that one when creating a new experiment, etc. When this most recent one is deleted, an error occurs because
* the API server method {{removeGroupResourceProfile}} does not remove the GRP entity from the sharing catalog
* so the Django portal thinks according the to the sharing API that the user still has access to this deleted GRP. The portal tries to load the GRP and gets this error:

{code}
AiravataSystemException(airavataErrorType=2, message='Error while retrieving application deployments. More info : Error while retrieving group resource profile. More info : No group resource profile found with matching gatewayId and groupResourceProfileId')

{code}

A shorter term fix is to fix the GRP code but more longer term would be to have the {{removeGroupResourceProfile}} method remove the entity.


  was:
The WorkspacePreferences keeps track of the most recently used group resource profile that a user has used and tries to use that one when creating a new experiment, etc. When this most recent one is deleted, an error occurs because
* the API server method `removeGroupResourceProfile` does not remove the GRP entity from the sharing catalog
* so the Django portal thinks according the to the sharing API that the user still has access to this deleted GRP. The portal tries to load the GRP and gets this error:

```
AiravataSystemException(airavataErrorType=2, message='Error while retrieving application deployments. More info : Error while retrieving group resource profile. More info : No group resource profile found with matching gatewayId and groupResourceProfileId')

```

A shorter term fix is to fix the GRP code but more longer term would be to have the `removeGroupResourceProfile` method remove the entity.


> Group resource profile (GRP) not found error when user's most recent GRP is deleted
> -----------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3462
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3462
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> The WorkspacePreferences keeps track of the most recently used group resource profile that a user has used and tries to use that one when creating a new experiment, etc. When this most recent one is deleted, an error occurs because
> * the API server method {{removeGroupResourceProfile}} does not remove the GRP entity from the sharing catalog
> * so the Django portal thinks according the to the sharing API that the user still has access to this deleted GRP. The portal tries to load the GRP and gets this error:
> {code}
> AiravataSystemException(airavataErrorType=2, message='Error while retrieving application deployments. More info : Error while retrieving group resource profile. More info : No group resource profile found with matching gatewayId and groupResourceProfileId')
> {code}
> A shorter term fix is to fix the GRP code but more longer term would be to have the {{removeGroupResourceProfile}} method remove the entity.



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