Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-4065

Incomplete task information returned by /v2/tasks

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None

      Description

      A GET on http://10.141.141.10:8080/v2/apps/healthy-app/tasks returns:

       json
      {
      appId: "healthy-app",
      id: "healthy-app.e021278d-1fb8-11e4-ac4e-1e36ef455fa7",
      host: "10.141.141.10",
      ports: [31535],
      startedAt: "2014-08-09T11:34:58.147Z",
      stagedAt: "2014-08-09T11:32:42.303Z",
      version: "2014-08-09T11:32:32.159Z",
      healthCheckResults: [{
         taskId: "healthy-app.e021278d-1fb8-11e4-ac4e-1e36ef455fa7",
         firstSuccess: "2014-08-09T11:32:54.498Z",
         lastSuccess: "2014-08-09T11:35:12.435Z",
         lastFailure: null,
         consecutiveFailures: 0,
         alive: true}]
      }
      

      However, http://10.141.141.10:8080/v2/tasks is listing everything except the health information:

       json
      {
      appId: "healthy-app",
      id: "healthy-app.e021278d-1fb8-11e4-ac4e-1e36ef455fa7",
      host: "10.141.141.10",
      ports: [31535],
      startedAt: "2014-08-09T11:32:43.450Z",
      stagedAt: "2014-08-09T11:32:42.303Z",
      version: "2014-08-09T11:32:32.159Z"
      }
      

      Is the health information missing on purpose?

        Attachments

          Activity

            People

            • Assignee:
              GitHub_ConnorDoyle Connor Doyle (Inactive)
              Reporter:
              GitHub_StephanErb Stephan Erb (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: