Hi all,

I'm puzzled in using maintenance mode.

I see this from mesos [doc site](http://mesos.apache.org/documentation/latest/maintenance/):

```
When maintenance is triggered by the operator, all agents on the machine are told to shutdown. These agents are removed from the master, which means that a |TASK_LOST| status update will be sent for every task running on each of those agents. The scheduler driver’s |slaveLost| callback will also be invoked for each of the removed agents. Any agents on machines in maintenance are also prevented from re-registering with the master in the future (until maintenance is completed and the machine is brought back up).
```
But I didn't find the agent machine shutdown or task failed when I test the maintenance HTTP endpoints.

If mesos agents are in that mode will move the running tasks to other agents? namely, it will evacuate all the tasks in those agents? and the shutdown?

When I POST "/maintenance/schedule" and "/machine/down" and give a proper maintain time window. I got the response that those specified agents are in the "draining_machines" and "down_machines" list by GET "/maintenance/status", but didn't shutdown and evacuate any tasks, why ? does it make sense?

Thanks.

--
Best Regards,
Chen, Qiang

Reply via email to