Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5215

DUCC: on process launch failure agent should set reason to content of stderr

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      When duccling fails to launch a process (due to bad log dir for example), currently an agent sets reason=Croaked hiding the real cause of the failure. Instead, agent should check stderr and if there is anything there, it should use it to populate the reason. The WS and OR should be checked if there is any dependency on word "Croaked" to make display decisions.

        Activity

        Hide
        cwiklik Jerry Cwiklik added a comment -

        Added new field in the IDuccProcess class to carry additional error information when a process fails to deploy.

        Show
        cwiklik Jerry Cwiklik added a comment - Added new field in the IDuccProcess class to carry additional error information when a process fails to deploy.
        Hide
        lou.degenaro Lou DeGenaro added a comment -

        > OR to copy Agent reported extended reason into corresponding IDuccProcess field
        > HistoryManagerDB & IHistoryPersistenceManager to include new IDuccProcess field extended reason
        > WS uses extended reason for display if present, otherwise reason

        Show
        lou.degenaro Lou DeGenaro added a comment - > OR to copy Agent reported extended reason into corresponding IDuccProcess field > HistoryManagerDB & IHistoryPersistenceManager to include new IDuccProcess field extended reason > WS uses extended reason for display if present, otherwise reason

          People

          • Assignee:
            cwiklik Jerry Cwiklik
            Reporter:
            cwiklik Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development