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

Network isolator crashes agent on startup when network interface cannot be found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.3.0
    • containerization, network
    • None

    Description

      When there's no public network interface, network isolator does not properly handle None and crashes on trying to obtain error message from Result:

        } 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());
        }
      

      There's also similar issue in code handling loopback interface.

      Attachments

        Activity

          People

            dzhuk Dmitry Zhuk
            dzhuk Dmitry Zhuk
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: