You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Joshua Cohen (JIRA)" <ji...@apache.org> on 2015/04/02 21:55:01 UTC

[jira] [Updated] (AURORA-1239) Add a way to watch a scheduler-driven update until it's complete

     [ https://issues.apache.org/jira/browse/AURORA-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Cohen updated AURORA-1239:
---------------------------------
    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.

  was:
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 ...}}.


> Add a way to watch a scheduler-driven update until it's complete
> ----------------------------------------------------------------
>
>                 Key: AURORA-1239
>                 URL: https://issues.apache.org/jira/browse/AURORA-1239
>             Project: Aurora
>          Issue Type: Task
>          Components: Client
>            Reporter: Joshua Cohen
>
> 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.



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