aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexius Ludeman <>
Subject Re: remove old slaves from aurora
Date Tue, 13 Jan 2015 19:17:55 GMT
After chatting on irc, i've opened a jira:

Summary of chat:

lexinator hi
lexinator i asked tis morning, but I'm going to ask again; is there a way
to make aurora forget about [old] slaves?
zmanji lexinator: what do you mean “forget” ?
lexinator aurora keeps track of every slave it's ever seen
lexinator mesos has definitely forgotten about the slave many months ago
zmanji lexinator: it seems that this data is still in the host attribute
lexinator i'm trying to write scripts for reconciliation of slaves from
aurora and mesos perspective
zmanji I’m not familiar on the process on having that data removed. This
sounds like a good question for the dev@ mailing list or filing a JIRA
lexinator the best i can do for now is to run aurora_admin host_deactivate
wfarner lexinator: you're right, there's a space leak in this part of the
wfarner this has been known for a while, not that it's the right thing to do
lexinator what is the slave data kept for?
lexinator i can imagine just a simple TTL is sufficient for this
zmanji lexinator: unfortunately maintenance state can last forever so a
simple TTL is not helpful
wfarner lexinator: ultimately it's kept just because we have no signal for
when a host is decommissioned
lexinator wfarner, zmanji: ok, then just make an explicit decomission
wfarner that's probably the best answer
wfarner thanks

On Tue, Jan 13, 2015 at 10:59 AM, Alexius Ludeman <> wrote:

> hi,
> It appears that aurora remembers every slave it's ever seen.   Is there a
> way to cleanse inactive slaves?  I'm fetching this data from http://
> $scheduler:8081/slaves
> I'm writing some reconciliation scripts to make sure aurora, mesos, and
> our role slave table are in sync.  My current workaround is to deactivate
> the old slave by "aurora_admin host_deactivate".
> thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message