[
https://issues.apache.org/jira/browse/AURORA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Khutornenko updated AURORA-921:
-------------------------------------
Description:
The beta-update start currently relies on a scheduler-driven message, which
suggests the use of an API that does not have a correspondent client command:
{noformat}
aurora2 beta-update start devcluster/vagrant/test/cron_hello_world4
aurora/examples/jobs/cron_hello_world.aurora
Failed to start scheduler-driven update due to error:
Cron jobs may only be updated by calling replaceCronTemplate.
Error executing command: Failed to start scheduler-driven update due to error:
{noformat}
Need to fail fast the "aurora beta-update start" for a cron job config.
was:
The beta-update start currently relies on a scheduler-driven message, which
suggests the use of an API that does not have a correspondent client command:
{noformat}
aurora2 beta-update start devcluster/vagrant/test/cron_hello_world4
aurora/examples/jobs/cron_hello_world.aurora
Failed to start scheduler-driven update due to error:
Cron jobs may only be updated by calling replaceCronTemplate.
Error executing command: Failed to start scheduler-driven update due to error:
{noformat}
Add a new "aurora cron replace" command to take advantage of the atomic
{{replaceCronTemplate}} RPC and fail fast the "aurora beta-update start" for a
cron job config.
> Fail fast for cron jobs in "aurora beta-update start"
> -----------------------------------------------------
>
> Key: AURORA-921
> URL: https://issues.apache.org/jira/browse/AURORA-921
> Project: Aurora
> Issue Type: Bug
> Components: Client
> Reporter: Maxim Khutornenko
> Priority: Critical
>
> The beta-update start currently relies on a scheduler-driven message, which
> suggests the use of an API that does not have a correspondent client command:
> {noformat}
> aurora2 beta-update start devcluster/vagrant/test/cron_hello_world4
> aurora/examples/jobs/cron_hello_world.aurora
> Failed to start scheduler-driven update due to error:
> Cron jobs may only be updated by calling replaceCronTemplate.
> Error executing command: Failed to start scheduler-driven update due to error:
> {noformat}
> Need to fail fast the "aurora beta-update start" for a cron job config.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)