You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Sha Zhengju (JIRA)" <ji...@apache.org> on 2016/05/14 06:39:12 UTC

[jira] [Created] (MESOS-5381) Network portmapping isolator disable IPv6 failed

Sha Zhengju created MESOS-5381:
----------------------------------

             Summary: Network portmapping isolator disable IPv6 failed
                 Key: MESOS-5381
                 URL: https://issues.apache.org/jira/browse/MESOS-5381
             Project: Mesos
          Issue Type: Bug
          Components: isolation
         Environment: CentOS7
            Reporter: Sha Zhengju


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:
{quote}
+ 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
{quote}

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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)