@Konrad I checked and it looks like Mesos master doesn't expose whitelist in API so it can't be presented in WebUI. I think this information + maintenance information should be included in state endpoint for each slave. Currently there is only alive field maybe it should be extended to something like state and have information like alive, maintenance, down, unknown.
pon., 24.10.2016 o 17:25 użytkownik Konrad Scherer < [email protected]> napisał: > On 2016-10-24 09:55 AM, Tomek Janiszewski wrote: > > Hi Konrad > > > > Currently I'm working on displaying table with maintenance schedule. > > I'm sorry I don't understand what whitelist you referred to. Do you want > > to display some additional information on offers screen? Could you > > provide an example? > > I am referring to the --whitelist flag[1] for the mesos master: > > <quote> > Path to a file which contains a list of agents (one per line) to > advertise offers for. The file is watched, and periodically re-read to > refresh the agent whitelist. By default there is no whitelist / all > machines are accepted. Path could be of the form file:///path/to/file or > /path/to/file. > </quote> > > If a node is not listed in the whitelist file, it is effectively in > maintenance/draining mode but it still shows up in the webui agent list > as an active agent without any indication that the offers from this > agent are not being sent to schedulers. Have you have changed the agent > summary page or list to display maintenance information? If so that may > be a good place to add information about whitelist status. Something > simple like "State: Draining" would be helpful. > > Thanks > > > [1]: http://mesos.apache.org/documentation/latest/configuration/ > -- > Konrad Scherer, MTS, Linux Products Group, Wind River >

