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

`UPDATE_STATE` with bad resource provider IDs will crash the agent.

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/mesos/blob/60a85777d640d01967bd44224ca40f855d3b39f1/src/resource_provider/manager.cpp#L907

      If a resource provider does not set up provider_id correctly for its resources in an UPDATE_STATE call, the agent will crash. We should be defensive and send an ERROR event to ask the resource provider to abort. Moreover, we should also validate that the resource provider IDs of all reported operations are correct.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chhsia0 Chun-Hung Hsiao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: