You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Brian Hatfield (JIRA)" <ji...@apache.org> on 2016/02/25 20:32:18 UTC

[jira] [Created] (AURORA-1623) aurora-admin host_drain feedback messages needed

Brian Hatfield created AURORA-1623:
--------------------------------------

             Summary: aurora-admin host_drain feedback messages needed
                 Key: AURORA-1623
                 URL: https://issues.apache.org/jira/browse/AURORA-1623
             Project: Aurora
          Issue Type: Story
          Components: Client
            Reporter: Brian Hatfield
            Priority: Minor


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:

{quote}
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: )
{quote}

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."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)