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

Interrupted scaling operations can leave the health bar in an incorrect state

    Details

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

      Description

      The health bar shows some healthy tasks, even though no tasks are running.

      To reproduce:

      • create a simple application with a successful healthcheck, eg:
      {
          "app": {
              "id": "/sleeping-app",
              "cmd": "sleep 10000",
              "ports": [ 0 ],
              "container": {
                  "type": "DOCKER",
                  "docker": {
                      "image": "alpine:3.1"
                  }
              },
              "healthChecks": [
                  {
                      "protocol": "COMMAND",
                      "command": {
                          "value": "echo 1"
                      },
                      "gracePeriodSeconds": 10,
                      "intervalSeconds": 60,
                      "timeoutSeconds": 10,
                      "maxConsecutiveFailures": 1
                  }
              ]
          }
      }
      
      • scale the app up, eg to 20 instances
      • whilst the deployment is still in progress, scale it to 0 instances
      • the health bar gets stuck showing stale tasks

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_philipnrmn Philip Norman (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: