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

Reservation may not be allocated when the role has no quota.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.2, 1.5.0
    • Component/s: allocation
    • Labels:
    • Target Version/s:
    • Sprint:
      Mesosphere Sprint 70
    • Story Points:
      3

      Description

      Reservations that belong to a role that has no quota may not be allocated even when the reserved resources are allocatable to the role.

      This is because in the current implementation the reserved resources may be counted towards the headroom left for unallocated quota limit in the second stage allocation.

      https://github.com/apache/mesos/blob/c844db9ac7c0cef59be87438c6781bfb71adcc42/src/master/allocator/mesos/hierarchical.cpp#L1764-L1767

      Roles with quota do not have this issue because currently their reservations are taken care of in the first stage.

        Attachments

          Activity

            People

            • Assignee:
              mzhu Meng Zhu
              Reporter:
              mzhu Meng Zhu
              Shepherd:
              Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: