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

Networks container/bridge Crashes with "Unknown Container"

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Marathon 1.7
    • Fix Version/s: None
    • Component/s: Docs
    • Labels:

      Description

      When the "networks" field in the service recipe is specified as "container/bridge", the service crashes with Debug Message "Abnormal executor termination: unknown container".

      The mesos logs don't seem to say anything other than "unknown container". This is using the MESOS UCR to launch a docker task with Mesos 1.7.0

      However, if I specify "host" as the network mode there is no issue.

       

      {
        "id": "/my-app",
        "cmd": null,
        "cpus": 1,
        "mem": 128,
        "disk": 0,
        "instances": 1,
        "acceptedResourceRoles": [],
        "container": {
          "type": "MESOS",
          "docker": {
            "forcePullImage": false,
            "image": "mesosphere/inky",
            "parameters": [],
            "privileged": false
          },
          "volumes": [],
          "portMappings": [
            {
              "containerPort": 0,
              "hostPort": 0,
              "labels": {},
              "name": "http",
              "protocol": "tcp",
              "servicePort": 10001
            },
            {
              "containerPort": 0,
              "hostPort": 0,
              "labels": {},
              "name": "https",
              "protocol": "tcp",
              "servicePort": 10006
            },
            {
              "containerPort": 0,
              "hostPort": 0,
              "labels": {},
              "name": "mon",
              "protocol": "tcp",
              "servicePort": 10007
            }
          ]
        },
        "networks": [
          {
            "mode": "container/bridge"
          }
        ],
        "portDefinitions": []
      }
      

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zanes2016 zanes2016
              Team:
              Orchestration Team
              Watchers:
              Jie Yu, Karsten Jeschkies, Matthias Eichstedt, zanes2016
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: