whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Bayer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WHIRR-389) EC2 security group error
Date Mon, 25 Mar 2013 23:23:16 GMT

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

Andrew Bayer resolved WHIRR-389.
--------------------------------

    Resolution: Fixed
    
> EC2 security group error
> ------------------------
>
>                 Key: WHIRR-389
>                 URL: https://issues.apache.org/jira/browse/WHIRR-389
>             Project: Whirr
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.6.0
>            Reporter: Paul Baclace
>            Assignee: Adrian Cole
>
> I frequently see the error in the log output below about an EC2 security group that was
just automatically created, but it complains it does not exist.  Whirr goes on to create the
cluster despite the error (full log not shown), but there might be problems.  jclouds might
be dropping actions on the security group or giving up on a node and unnecessarily starting
more nodes because of this. 
> 2011-09-21 01:05:03,604 [main] INFO  org.apache.whirr.actions.BootstrapClusterAction
-  Bootstrapping cluster
> 2011-09-21 01:05:03,605 [main] INFO  org.apache.whirr.actions.BootstrapClusterAction
-  Configuring template
> 2011-09-21 01:05:07,000 [main] INFO  org.apache.whirr.actions.BootstrapClusterAction
-  Configuring template
> 2011-09-21 01:05:07,004 [pool-3-thread-3] INFO  org.apache.whirr.actions.NodeStarter
-  Starting 1 node(s) with roles [hadoop-jobtracker, hadoop-namenode, ganglia-metad]
> 2011-09-21 01:05:07,008 [pool-3-thread-4] INFO  org.apache.whirr.actions.NodeStarter
-  Starting 2 node(s) with roles [hadoop-datanode, hadoop-tasktracker, ganglia-monitor]
> 2011-09-21 01:05:09,419 [pool-3-thread-1] ERROR org.apache.whirr.actions.BootstrapClusterAction
-  Unexpected error while starting 1 nodes, minimum 1 nodes for [hadoop-jobtracker, hadoop-namenode,
ganglia-metad] of cluster hadoop_smoketest_0_20110920t1805
> java.util.concurrent.ExecutionException: org.jclouds.rest.ResourceNotFoundException:
The security group 'jclouds#hadoop_smoketest_0_20110920t1805#us-west-1' does not exist
> 	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
> 	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
> 	at org.apache.whirr.actions.BootstrapClusterAction$StartupProcess.waitForOutcomes(BootstrapClusterAction.java:320)
> 	at org.apache.whirr.actions.BootstrapClusterAction$StartupProcess.call(BootstrapClusterAction.java:273)
> 	at org.apache.whirr.actions.BootstrapClusterAction$StartupProcess.call(BootstrapClusterAction.java:234)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.jclouds.rest.ResourceNotFoundException: The security group 'jclouds#hadoop_smoketest_0_20110920t1805#us-west-1'
does not exist
> 	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.refineException(ParseAWSErrorFromXmlContent.java:103)
> 	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:88)
> 	at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)
> 	at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.shouldContinue(BaseHttpCommandExecutorService.java:200)
> 	at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:165)
> 	at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:134)
> 	... 5 more
> Caused by: org.jclouds.aws.AWSResponseException: request POST https://ec2.us-west-1.amazonaws.com/
HTTP/1.1 failed with code 400, error: AWSError{requestId='xxxx-xxx-xxxx-xxx', requestToken='null',
code='InvalidGroup.NotFound', message='The security group 'jclouds#hadoop_smoketest_0_20110920t1805#us-west-1'
does not exist', context='{Response=, Errors=}'}
> 	at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:74)
> 	... 9 more

--
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

Mime
View raw message