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

Cleanup stale bind mounts for port mapping isolator during slave recovery.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.21.1, 0.22.0
    • 0.23.0
    • None
    • None
    • Twitter Mesos Q1 Sprint 5
    • 2

    Description

      Leaked bind mount under /var/run/netns for port mapping isolator is a known issue. There are many ways it can get leaked. For example, if the slave crashes after creating the bind mount but before creating the veth, the bind mount will be leaked. Also, if the detached unmount does not finish in time and the subsequent os::rm fails, the bind mount will be leaked as well.

      Since leaked bind mount is inevitable, we need to clean them up during startup (slave recovery).

      Attachments

        Activity

          People

            jieyu Jie Yu
            jieyu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: