GitEmerge / hybridfox

Automatically exported from code.google.com/p/hybridfox
Apache License 2.0
0 stars 1 forks source link

Error msg popup for DescribeInstances When launching many instances #108

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to Images tab
2. Select an image
3. Launch at least 12 instances of that image
4. HF switches to the Instance tab and shows pending instances but also shows 
an error for DescribeInstances with no details.

This error can also be triggered by clicking the refresh button on most HF 
views.  Eucalyptus does indeed throw an error because it limits the frequency 
of requests to avoid a DoS attack on its web services.

Unfortunately, HF does not display this error message or the fact of why an 
error occurred.  This isn't really an 'issue' if the user clicks the refresh 
button over and over again, but it shouldn't occur automatically when launching 
12 instances.  Perhaps the code is calling DescribeInstances whenever an 
instance is started and when you start 12 instances it calls the method 12 
times and the Eucalyptus cloud server throws the throttling error?

What is the expected output? What do you see instead?
Should just see a list of instances with no error box.  See an error box.

What version of the product are you using? On what operating system?
1.7 build 000119; Mac OSX 10.6; Firefox 6.0.2

Please provide any additional information below.

See attached screenshot.

Original issue reported on code.google.com by Nast...@gmail.com on 27 Sep 2011 at 8:19

Attachments:

GoogleCodeExporter commented 9 years ago
This is related to the replay attach detection fixes in the latest version of 
Eucalyptus 2: http://open.eucalyptus.com/news/2011-05-25-eucalyptus-203

You'll see something like this in the Eucalyptus server logs:

16:41:25  INFO [SecurityContext:New I/O server worker #1-8] Replay detected for 
YelhFrNSgj3Wmft2G7I/FOs61sM=
16:41:25 ERROR [NioServerHandler:New I/O server worker #1-8] Internal Error.
com.eucalyptus.ws.WebServicesException: Message replay detected.  Same 
signature was used within the last 5 minutes
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:134)
        at com.eucalyptus.ws.server.NioServerHandler.messageReceived(NioServerHandler.java:127)
        at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:114)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:385)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:459)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:443)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:381)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:342)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:329)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:330)
        at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:203)
        at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:53)
        at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:502)
        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)

This affects Eucalyptus 2.0.3 (open source) and Eucalyptus Enterprise 2.0.2.

Original comment by suspende...@eucalyptus.com on 4 Nov 2011 at 7:40