Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3462

Group resource profile (GRP) not found error when user's most recent GRP is deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Django Portal
    • None

    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:
      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.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: