Details
-
Story
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When performing some maintenance on my cluster, I was adding and removing hosts from maintenance (with `aurora-admin host_drain` and `aurora-admin host_activate`).
Aurora sees the hosts in my cluster by their FQDN, but I inadvertently requested `host_activate` for their shortname. `aurora-admin` gave me the ol' thumbs up when I did this, leading me to be confused why all of the hosts I tried to remove were still listed when I checked /maintenance on the scheduler.
For example:
bhatfield@mesos-master2001:~$ sudo -u aurora aurora-admin host_activate --filename=current-batch-recreates production INFO] Ending maintenance for: set(['mesos-worker2013', 'mesos-worker2001', 'mesos-worker2002', 'mesos-worker2003', 'mesos-worker2004', 'mesos-worker2005', 'mesos-worker2006', 'mesos-worker2007', 'mesos-worker2008', 'mesos-worker2009', 'mesos-worker2014', 'mesos-worker2011', 'mesos-worker2012', 'mesos-worker2010', 'mesos-worker2015']) INFO] Response from scheduler: OK (message: )
I would hope that `aurora-admin` would say something to the effect of "Hey, Friend: the hosts you've requested are not in SCHEDULED or DRAINED status for maintenance."