Should mesos 1.8 (and marathon 1.8) drain/migrate tasks or not?

2019-08-08 Thread Marc Roos
I don’t get from this page http://mesos.apache.org/documentation/latest/maintenance/ if mesos should be 'moving' tasks to another node when it is marked as draining. I know DRAIN_AGENT is only for mesos 1.9. But what use it to post a maintenance schedule, see the node being marked as

RE: Draining: Failed to validate master::Call: Expecting 'type' to be present

2019-08-08 Thread Marc Roos
Now I am getting the draining state, don’t know why I did not get this before. {"draining_machines":[{"id":{"hostname":"m02.local"}}]} But no tasks are migrating, nothing happens After a while, brought the agent down {"down_machines":[{"hostname":"m02.local"}]} Tasks are still there. I

RE: Draining: Failed to validate master::Call: Expecting 'type' to be present

2019-08-08 Thread Marc Roos
I have scheduled a maintenance (from date now), how can I verify if the agent is indeed in 'draining' mode? -Original Message- From: Vinod Kone [mailto:vinodk...@apache.org] Sent: donderdag 8 augustus 2019 0:35 To: user Subject: Re: Draining: Failed to validate master::Call: