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

Application as public_slave waiting forever

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I've been able to deploy my application to the private agents just fine, but this need to be publicly accessible. It is my understanding that in order to do so, it must have `slave_public` as an accepted role. When I add this, the deployment just sticks on "Waiting" forever. I know this can be a problem if i try to specify a host port, but I am leaving it as 0. When I try a new configuration, I also leave the servicePort as 0. What you're seeing below is the ports that were assigned. I've tried various containerPort values with no effect.

      It's also worth noting that I have marathon-lb running with public_slave as well. Not sure if that affects anything

        

      {
        "id": "/das/gateways/gateway-command",
        "cmd": null,
        "cpus": 1,
        "mem": 128,
        "disk": 0,
        "instances": 1,
        "acceptedResourceRoles": [
          "slave_public"
        ],
        "container": {
          "type": "DOCKER",
          "volumes": [],
          "docker": {
            "image": "dasdockerhub.azurecr.io/das/gateway-command:latest",
            "network": "BRIDGE",
            "portMappings": [
              {
                "containerPort": 80,
                "hostPort": 0,
                "servicePort": 10101,
                "protocol": "tcp",
                "name": "http"
              }
            ],
            "privileged": false,
            "parameters": [],
            "forcePullImage": false
          }
        },
        "portDefinitions": [
          {
            "port": 10101,
            "protocol": "tcp",
            "name": "default",
            "labels": {}
          }
        ],
        "uris": [
          "file:///mnt/share/dcosshare/docker.tar.gz"
        ],
        "fetch": [
          {
            "uri": "file:///mnt/share/dcosshare/docker.tar.gz",
            "extract": true,
            "executable": false,
            "cache": false
          }
        ]
      }
      

       

        Attachments

          Activity

            People

            • Assignee:
              icharalampidis Ioannis Charalampidis
              Reporter:
              dasjestyr dasjestyr
              Team:
              Orchestration Team
              Watchers:
              dasjestyr, Ioannis Charalampidis
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: