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

Run cgroup subsystems before moving the target PID.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: containerization
    • Labels:
      None
    • Target Version/s:

      Description

      Currently, the Pid targeted by the cgroups isolator is moved into the cgroup before the subsystem runs to apply any type-specific cgroup configuration. We should reverse the order of this so that the PID is only moved once the cgroup is fully configured by the subsystem.

      The specific use case that affected us was where a PID was assigned to a net_cls cgroup before that cgroup had the class ID set. This caused a separate system to become confused.

        Attachments

          Activity

            People

            • Assignee:
              jamespeach James Peach
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: