Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9269

Mesos UCR with Docker only Works on Host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • agent, docker
    • None
    • Ubuntu 16.04

      Mesos 1.7.0

      Marathon 1.7.111

    Description

      I'm having an issue setting up the `mesos-cni-port-mapper` to allow remote connectivity.

      When I `curl <host>:<port>` from the machine I get a response but from a remote machine the `curl` connection timesout. I'm not sure what's wrong with my route settings.

       

      /var/lib/mesos/cni/config/mesos-bridge.json

       

      {
      "name" : "mesos-bridge",
      "type" : "mesos-cni-port-mapper",
      "excludeDevices" : ["mesos-cni0"],
      "chain": "MESOS-BRIDGE-PORT-MAPPER",
      "delegate": {
      "type": "bridge",
      "bridge": "mesos-cni0",
      "isGateway": true,
      "ipMasq": true,
      "ipam": {
      "type": "host-local",
      "subnet": "10.1.0.0/16",
      "routes": [
      { "dst":
      "0.0.0.0/0" }
      ]
      }
      }
      }
      

       

      $ route -n
      Kernel IP routing table
      Destination Gateway Genmask Flags Metric Ref Use Iface
      0.0.0.0 172.27.1.1 0.0.0.0 UG 0 0 0 ens3
      10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 mesos-cni0
      172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
      172.27.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ens3
      

      Any suggestions?

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dkjs z s
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: