You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/06/07 16:06:58 UTC

[jira] [Updated] (WHIRR-325) Reduce cloud provider-specific code in scripts

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

Andrei Savu updated WHIRR-325:
------------------------------

    Attachment: WHIRR-325-rewrite-run-script.patch

I've done some work on this one (trying to rewrite "whirr run-script") and I believe I've discovered a bug in jclouds. 

It seems like {{runScriptOnNode}} ignores the new credentials provided as RunScriptOptions. 

I believe the error should be fixed in {{BaseComputeService.runScriptOnNode}} and the code should be similar to {{BaseComputeService.TransformNodesIntoInitializedScriptRunners.apply}}



> 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
>         Attachments: WHIRR-325-rewrite-run-script.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira