Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-735

Named VIPs (minuteman) breaks when using dual protocol in marathon

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: DC/OS 1.8.0
    • Fix Version/s: None
    • Component/s: minuteman
    • Labels:
      None

      Description

      Dcos Version 1.8

      I'm running a task that has a named vip for PORT0 and PORT1, and have PORT2 configured for both tcp and udp. When deploying this task via marathon, it causes minuteman to fail with the following stacktrace. The net result is NO named vips working for ANY tasks.

      This is reproducible about 95% of the time. I have been successful atleast one time running this configuration, but happens enough to be a "bug" in my opinion.

      "portMappings": [
      {
      "containerPort": 8000,
      "hostPort": 0,
      "servicePort": 10159,
      "protocol": "tcp",
      "name": "proxy",
      "labels": {
      "VIP_0": "/kong:80"
      }
      },
      {
      "containerPort": 8001,
      "hostPort": 0,
      "servicePort": 10160,
      "protocol": "tcp",
      "name": "admin",
      "labels": {
      "VIP_1": "/kong-admin:80"
      }
      },
      {
      "containerPort": 7946,
      "hostPort": 0,
      "servicePort": 10161,
      "protocol": "udp,tcp",
      "labels": {}
      }
      ],
      

       

      Mar 03 05:23:00 ip-10-100-1-237.us-west-2.compute.internal minuteman-env[11295]: 05:23:00.895 [error] Failed to parse task: {function_clause,[{mesos_state_client,protocol,[<<"tcp,udp">>],[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,433}]},{mesos_state_client,discovery_ports,2,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,417}]},{mesos_state_client,discovery,1,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,403}]},{mesos_state_client,task,3,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,241}]},{mesos_state_client,tasks,5,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,219}]},{mesos_state_client,executors,5,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,199}]},{mesos_state_client,frameworks,4,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,189}]},{mesos_state_client,tasks,1,[{file,"/pkg/src/minuteman/_build/default/lib/mesos_state/src/mesos_state_client.erl"},{line,177}]}]}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jessecollier Jesse Collier
              Team:
              Networking Team
              Watchers:
              Deepak Goel, Jesse Collier
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: