aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-490) aurora create fail due to incorrect UpdateConfig.watch_secs
Date Thu, 29 May 2014 20:59:01 GMT

    [ https://issues.apache.org/jira/browse/AURORA-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012893#comment-14012893
] 

Bill Farner commented on AURORA-490:
------------------------------------

As Maxim points out, the client bails here because it notices a dangerous combination of values.
 I tend to agree that altering defaults on the fly would be confusing behavior.  In this case,
we made the judgement call that if the user tunes this parameter, it's best for them to tune
both to be fully aware of the behavior.

> aurora create fail due to incorrect UpdateConfig.watch_secs
> -----------------------------------------------------------
>
>                 Key: AURORA-490
>                 URL: https://issues.apache.org/jira/browse/AURORA-490
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.6.0
>            Reporter: Bhuvan Arumugam
>
> The create fail, if {{HealthCheckConfig.initial_interval_secs}} is specified and {{UpdateConfig.watch_secs}}
is not specified.
> If {{UpdateConfig.watch_secs}} is not specified, it should default to sensible default.
It should report following error only if the user have defined {{UpdateConfig.watch_secs}}
and it is lesser than expected seconds.
> {code}
> [bhuvan@scheduler apps]$ aurora create int/bhuvan/staging10/AppName AppName.aurora 
> FATAL] 
> You have specified an insufficiently short watch period (45 seconds) in your update configuration.
> Your update will always succeed. In order for the updater to detect health check failures,
> UpdateConfig.watch_secs must be greater than 330 seconds to account for an initial
> health check interval (180 seconds) plus 5 consecutive failures at a check interval of
30 seconds.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message