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

Add a way to watch a scheduler-driven update until it's complete

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Client
    • None
    • Twitter Aurora Q2'15 Sprint 2
    • 3

    Description

      It would be nice for scripts that coordinate updates to have the ability to watch a scheduler-driven update until it has completed. This is currently possible by scripting the client, e.g. https://github.com/apache/aurora/blob/master/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh#L149-L166, however given this is likely a common requirement, we should encapsulate this functionality within the client itself.

      Two suggestions are adding aurora update watch ... or aurora update status --watch ....

      The command should periodically poll the scheduler for the status of the update and exit 0 for successful updates and 1 for failed updates.

      Attachments

        Activity

          People

            wfarner Bill Farner
            joshua.cohen Joshua Cohen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: