[
https://issues.apache.org/jira/browse/WHIRR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459126#comment-13459126
]
Andrei Savu commented on WHIRR-120:
-----------------------------------
Works fine for me with the following change:
{noformat}
---
a/core/src/main/java/org/apache/whirr/service/ClusterActionHandlerSupport.java
+++
b/core/src/main/java/org/apache/whirr/service/ClusterActionHandlerSupport.java
@@ -174,7 +174,7 @@ public abstract class ClusterActionHandlerSupport
implements ClusterActionHandle
public static void addClusterToEtcHostsAndFirewall(ClusterActionEvent event)
throws IOException {
if (event.getClusterSpec().isStoreClusterInEtcHosts()) {
- addStatement(event, exec("echo -e '\\n' > /etc/hosts"));
+ addStatement(event, exec("echo -e '\\n' >> /etc/hosts"));
for (Instance instance : event.getCluster().getInstances()) {
{noformat}
> support deployment to the GoGrid cloud
> --------------------------------------
>
> Key: WHIRR-120
> URL: https://issues.apache.org/jira/browse/WHIRR-120
> Project: Whirr
> Issue Type: New Feature
> Components: new provider
> Affects Versions: 0.3.0
> Reporter: Adrian Cole
> Assignee: Andrew Bayer
> Attachments: WHIRR-120.patch, WHIRR-120.patch, WHIRR-120.patch,
> WHIRR-120.patch, WHIRR-120.patch, WHIRR-120.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> GoGrid is supported in jclouds as the "gogrid" provider. Support should be
> fairly straightforward with the exception that we'll need to manipulate
> iptables to expose services like hadoop.
> Here's an example of a iptables rule that works in gogrid, and authorizes
> port 8080:
> iptables -I RH-Firewall-1-INPUT 1 -p tcp --dport 8080 -j ACCEPT
> iptables-save
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira