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

Port mapper CNI plugin might fail with "Resource temporarily unavailable"

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 2018-25, Mesosphere Sprint 2018-26
    • 1

    Description

      https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp#L345

      Looks like we're missing a `-w` for the iptable command. This will lead to issues like

      The CNI plugin '/opt/mesosphere/active/mesos/libexec/mesos/mesos-cni-port-mapper' failed to attach container a710dc89-7b22-493b-b8bb-fb80a99d5321 to CNI network 'mesos-bridge': stdout='{"cniVersion":"0.3.0","code":103,"msg":"Failed to add DNAT rule with tag: Resource temporarily unavailable"}
      

      This becomes more likely if there are many concurrent launches of Mesos contianers that uses port mapper on the box.

      Attachments

        Activity

          People

            greggomann Greg Mann
            jieyu Jie Yu
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: