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

Frameworks recovered from reregistered agents are not reported to master `/api/v1` subscribers.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.3, 1.9.0, 1.8.2
    • Component/s: HTTP API
    • Labels:
      None
    • Target Version/s:
    • Sprint:
      Storage: RI-14 Sprint 46
    • Story Points:
      2

      Description

      Currently when an operator subscribes to the /api/v1 master endpoint, it would receive a SUBSCRIBED event carrying information about all known frameworks, including registered ones and unregistered ones. If an unregistered framework reregisters later, a FRAMEWORK_UPDATED event would be sent to the operator.

      However, if an operator subscribes to the /api/v1 master endpoint after a master failover but before any of the frameworks and agents reregisters, SUBSCRIBED would contain no recovered framework information. When a agent with running tasks reregisters later, unregistered frameworks of those tasks will be recovered, but no FRAMEWORK_ADDED will be sent to the operator, so the operator will receive TASK_ADDED for those tasks with unknown framework IDs.

        Attachments

          Activity

            People

            • Assignee:
              chhsia0 Chun-Hung Hsiao
              Reporter:
              chhsia0 Chun-Hung Hsiao
              Shepherd:
              Greg Mann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: