Hi everybody,

I'm having troubles with the cleanup of the mesos agent work directory.
When we change some configuration parameters to the agent (e.g. the
--resource flag), the agent refuses to start and asks the removal of
*/var/lib/mesos-agent/meta/slaves/latest* in the logs.

Since we are automating these changes, we would like to know when to
perform this cleanup programmatically.

Right now we are doing that *after every single change*, but that's not
ideal, since every time mesos master assigns a new ID to the slave. It
seems unnecessary to me.

My questions are:

   - is there a way to know when this cleanup is needed (without looking at
   the logs)?
   - do we have problems if we clean up the work directory every time the
   node boots (so the configuration might or might not have been changed at
   all)?


Thanks, kind regards,

Mike

Reply via email to