Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1623

aurora-admin host_activate feedback/validation messages needed

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Client
    • 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."

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmhatfield Brian Hatfield
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: