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

IOSwitchboard FDs leaked when containerizer launch fails -- leads to deadlock

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None

      Description

      If the containizer launch path fails before actually
      launching the container, the FDs allocated to the container by the
      IOSwitchboard isolator are leaked. This leads to deadlock in
      the destroy path because the IOSwitchboard does not shutdown until the
      FDs it allocates to the container have been closed. Since the
      switchboard doesn't shutdown, the future returned by its 'cleanup()'
      function is never satisfied.

      We need a general purpose method for closing the IOSwitchboard FDs when failing in the launch path.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                klueska Kevin Klues
                Reporter:
                klueska Kevin Klues
                Shepherd:
                Jie Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: