Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-962

Backstage plugin fails to update catalog when workflow SF is deleted

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:
      When a workflow's sonataflow CR is deleted, the backstage plugin fails to update the catalog properly and the UI and backend start to report errors.

      How reproducible: 100%

      Steps to reproduce:

      1. Have the orchestrator backstage instance running with workflows deployed. 

      2. Delete an existing workflow's sonataflow CR (oc delete sf <workflow name> -n  sonataflow-infra or delete from the console.

      3.  Reload the orchestrator UI

      Actual results: UI worklow tab results in 504 error:

      Error
      504: Error
      
      Message
      Request failed with status 504 Gateway Time-out, <html><body><h1>504 Gateway Time-out</h1>
      The server didn't respond in time.
      </body></html>
      
      Full Error as JSON
      {
        "error": {
          "name": "Error",
          "message": "Request failed with status 504 Gateway Time-out, <html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
        },
        "response": {
          "statusCode": 504
        }
      } 

       In addition, the deleted workflow's (MTA) runs are still in the Workflow-runs tab:

      Expected results: Workflow should be deleted without incident.

            gcaponet Guilherme Caponetto
            yfirst Yona First
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: