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

Reactivating a draining agent leaves the agent in draining state.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.1, 1.10.0
    • agent, master
    • None

    Description

      When reactivating an agent that's in the draining state, the master erases it from its draining maps, and erases its estimated drain time.

      However, it doesn't send any message to the agent, so if the agent is still draining and waiting for tasks to terminate, it will stay in that state, ultimately making any tasks that then get launched get DROPPED due to the agent still being in a draining state.

      Seems like we should either:

      • Disallow the user from reactivating if still in draining, or
      • Send a message to the agent, and have the agent move itself out of draining.

      Attachments

        Activity

          People

            bmahler Benjamin Mahler
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: