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

Paul Baclace commented on WHIRR-325:
------------------------------------

Any time sleep is used for consistency the amount of time to pre-wait should be 
a tunable parameter because it is a heuristic that depends on system load.  For 
instance, on EC2, different regions at different times might require different 
values to have 99% probability of being ready.  

Moreover, if no retries are implemented yet for a particular operation, then it 
is even more important to be tunable. 

The tunable property should be suggested in the error msg that is seen when the 
operation fails. 

                
> Reduce cloud provider-specific code in scripts
> ----------------------------------------------
>
>                 Key: WHIRR-325
>                 URL: https://issues.apache.org/jira/browse/WHIRR-325
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Tom White
>            Assignee: Andrei Savu
>         Attachments: WHIRR-325-rewrite-run-script.patch, WHIRR-325.patch, 
> WHIRR-325.patch, WHIRR-325.patch
>
>
> Many of the bash functions have a cloud provider option (-c) that they use to 
> determine how to find the local public/private IP address, or the local data 
> directory (/mnt vs /data, for example).
> We should pass what is needed (e.g. IP addresses, directories), or at least 
> put the code in a common function.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to