You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dmitry Zhuk (JIRA)" <ji...@apache.org> on 2017/04/05 13:24:41 UTC

[jira] [Created] (MESOS-7348) Network isolator crashes agent on startup when network interface cannot be found

Dmitry Zhuk created MESOS-7348:
----------------------------------

             Summary: Network isolator crashes agent on startup when network interface cannot be found
                 Key: MESOS-7348
                 URL: https://issues.apache.org/jira/browse/MESOS-7348
             Project: Mesos
          Issue Type: Bug
          Components: isolation, network
    Affects Versions: 1.1.0
            Reporter: Dmitry Zhuk
            Priority: Minor


When there's no public network interface, network isolator does not properly handle {{None}} and crashes on trying to obtain error message from {{Result}}:
{code}
  } else if (!eth0.isSome()){
    // eth0 is not specified in the flag and we did not get a valid
    // eth0 from the library.
    return Error(
        "Network Isolator failed to find a public interface: " + eth0.error());
  }
{code}
There's also similar issue in code handling loopback interface.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)