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:35:42 UTC

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

    [ https://issues.apache.org/jira/browse/MESOS-7348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956864#comment-15956864 ] 

Dmitry Zhuk commented on MESOS-7348:
------------------------------------

https://reviews.apache.org/r/58209/

> 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)