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

Network portmapping isolator disable IPv6 failed

    XMLWordPrintableJSON

    Details

      Description

      We observed this error in our environment:
      1. enable --isolation=network/port_mapping for mesos 0.28.0 on CentOS7.2 with kernel version: 3.10.0-327.10.1.el7.x86_64
      2. create simple application on marathon framework with commands such as "echo hello"
      3. mesos executor failed with error logs in sandbox stderr file:

      + mount --make-rslave /var/run/netns
      + echo 1
      sh: line 3: /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory Failed to execute a preparation shell command

      The reason is that we should do some ipv6 check in isolators/network/port_mapping.cpp:PortMappingIsolatorProcess::scripts(), if ipv6 module is not loaded while kernel booting(such as in CentOS7/RHEL7), we don't need to disable ipv6 anymore.

        Attachments

          Activity

            People

            • Assignee:
              shazj Sha Zhengju (Inactive)
              Reporter:
              shazj Sha Zhengju (Inactive)
              Shepherd:
              Jie Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: