Project: mesos
Issue MESOS-3265: Starting maintenance needs to deactivate agents and kill tasks.
After using the {{/maintenance/start}} endpoint to begin maintenance on a machine, agents running on said machine should: * Be deactivated such that no offers are sent from that agent. (Investigate if {{Master::deactivate(Slave*)}} can be used or modified for this purpose.) * Kill all tasks still running on the agent (See MESOS-1475). * Prevent other agents on that machine from registering or sending out offers. This will likely involve some modifications to {{Master::register}} and {{Master::reregister}}.
Story points: 8