Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12977

App fails to delete because schedule trigger not found

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: App Fabric, Scheduler
    • Labels:
    • Rank:
      1|i00a2v:

      Description

      We have seen a situation where an app fails to delete, complaining that a schedule in the app does not exist:

      failed: [localhost] (item=

      {'name': u'[app]'}

      ) => {"connection": "close", "content": "Trigger with name '[ns]:[app]:-SNAPSHOT:WORKFLOW:DataPipelineWorkflow:dataPipelineSchedule' does not exist",

      However, the rest endpoint to get the schedule returns that one still exists:

      GET v3/namespaces/[ns]/apps/[app]/schedules

      Will investigate how a situation like this can occur, but it seems like there is state in multiple places instead of one source of truth. In addition, if we try to delete something and it doesn't exist, we should just move on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poorna Poorna Chandra
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: