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

Readiness checks are not executed on apps when apps are deployed as a part of a group

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Marathon 1.5.7
    • Fix Version/s: None
    • Component/s: Health & Readiness
    • Labels:
      None

      Description

      I'm using Marathon `1.5.7` and my `readinessCheck` is ignored when starting an app in a context of a group.

      When trying to start the service as an app it works.

      This really messes my entire deployment as one of my core dependencies takes time to be available from the moment it's "running" to the point where it can server someone.

      My app looks like this

      {
      "container": {
      ...
      },
      "unreachableStrategy": {
      "inactive_after_seconds": 30,
      "expunge_after_seconds": 60
      },
      "mem": 100,
      "args": [],
      "readinessChecks": [
      {
      "protocol": "HTTP",
      "name": "rabbitmq_readindess_check",
      "timeoutsec": 5,
      "intervalSec": 10,
      "httpStatusCodesForReady": [
      200,
      201,
      204
      ],
      "preserveLastResponse": true,
      "portName": "check",
      "path": "/api"
      }
      ],
      "cpus": 0.02,
      "portMapping": [],
      "requirePorts": true,
      "instances": 1,
      "dependencies": [],
      "env": {},
      "ports": [ 15672 ],
      "portDefinitions": [
      {
      "labels": {},
      "protocol": "tcp",
      "name": "check",
      "port": 15672
      }
      ],
      "id": "/app/rabbitmq",
      }

       

        Attachments

          Activity

            People

            • Assignee:
              nikitamelkozerov Nikita Melkozerov (Inactive)
              Reporter:
              yonishafrir Yoni Shafrir
              Team:
              Orchestration Team
              Watchers:
              Ioannis Charalampidis, Matthias Eichstedt, Nikita Melkozerov (Inactive), Tim Harper, Yoni Shafrir
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: