newsapps / beeswithmachineguns

A utility for arming (creating) many bees (micro EC2 instances) to attack (load test) targets (web applications).
http://apps.chicagotribune.com/
MIT License
6.45k stars 633 forks source link

Bees do not complete the mission #91

Closed JulianGindi closed 8 years ago

JulianGindi commented 10 years ago

I had two bees active and neither of them 'made it to the action'. This seems to be a pretty consistent problem on my end, any ideas on what could be going on?

liltechdude commented 10 years ago

I'm having the same problem. Trying to get two bees that are up and running to attack my website and they don't do anything. "No bees completed the mission"

lukewilde commented 10 years ago

I've also had this issue. I get the following error message:

 4 of your bees didn't make it to the action. They might be taking a little longer than normal to find their machine guns, or may have been terminated without using "bees down".
 No bees completed the mission. Apparently your bees are peace-loving hippies.

bees report shows them running, so I think it might be due to software missing from the EC2 instances but am not sure how to confirm. It would be great to get some verbose error feedback!

JulianGindi commented 9 years ago

Bumping this again. Still getting the error. Have 4 bees, making 10000 requests 250 at a time. None completed their mission. Any ideas?

tbergeron commented 9 years ago

I think this is because of the image it used to spawn bees: https://dragkh.wordpress.com/2012/07/08/bees-with-machine-guns-and-ec2-at-aws/

Seems it's now missing the httpd-tools package. I think we can connect to our bees manually and install it like that: yum install httpd-tools -y

But I'm not able to connect to my bees at the moment even with opened 22 port so I'm still stuck.

JulianGindi commented 9 years ago

Let me try using a custom AMI and see how that works. Will submit a PR if I get things working.

tbergeron commented 9 years ago

That's what I'd love to be able to do but I don't know how to use custom AMI with bees. Thanks and good luck!

JulianGindi commented 9 years ago

Looks like there is a hard-coded AMI here I'll try changing that to include all the packages we might need. I'll probably add a flag to specify a custom AMI when you launch the bees as well.