Commit Graph

26 Commits

Author SHA1 Message Date
Anuj Biyani
fb38aa1a98 sync with stdout so that output can be piped in realtime 2013-06-05 14:44:19 -07:00
Anuj Biyani
a4aa1ca838 fix a print statement that was using the wrong source for auto scaling instances 2013-06-04 19:23:39 -07:00
Anuj Biyani
abfa3d2885 move elb timeout sleep outside of Timeout block 2013-06-04 18:33:47 -07:00
Anuj Biyani
7c6206e90d fix/add some print statements 2013-06-04 18:31:04 -07:00
Anuj Biyani
02f31ef263 require instances to be inservice for a period of time before considering them healthy 2013-06-04 18:09:50 -07:00
Anuj Biyani
a67f5c2494 use constants instead of instance variables for a couple things 2013-06-04 16:17:35 -07:00
Anuj Biyani
b6af069025 tweak formatting of help 2013-06-04 16:04:47 -07:00
Anuj Biyani
fc124c21bf fix some print statements 2013-06-04 15:58:50 -07:00
Anuj Biyani
1463d49e9a deregister the ec2 instance, not the as instance 2013-06-04 15:52:38 -07:00
Anuj Biyani
f91dbe1c94 use AutoScaling::Instance instead of EC2::Instance 2013-06-04 15:39:56 -07:00
Anuj Biyani
f6f07ec0fc wrap AwsHaRelease class in AwsMissingTools module 2013-06-04 15:20:51 -07:00
Anuj Biyani
29aeb75ca3 use ruby optionparser instead of trollop
remove cucumber
2013-06-04 15:18:18 -07:00
Anuj Biyani
601f6087ec check that number of instances in load balancer matches desired capacity 2013-06-04 15:16:51 -07:00
Anuj Biyani
0554f6eb74 fix some output 2013-06-04 11:26:03 -07:00
Anuj Biyani
2a8f449cc7 move require lines around so they make more sense 2013-06-04 11:18:22 -07:00
Anuj Biyani
5f4b9b59bf ensure that necessary autoscaling processes are not suspended 2013-06-03 19:31:10 -07:00
Anuj Biyani
8c24fa8dbf add print statements so user is aware of what is happening 2013-06-03 19:19:38 -07:00
Anuj Biyani
07fc0390f7 timeout if cycling a server takes longer than inservice_time_allowed 2013-06-03 18:51:01 -07:00
Anuj Biyani
55e60a989e rearrange and refactor specs to make more sense 2013-06-03 18:07:10 -07:00
Anuj Biyani
b463901f98 loop through each instance, wait for a new one to come up, then deregister and terminate the old one 2013-06-03 16:19:03 -07:00
Anuj Biyani
9273f748c2 determine if instances are InService across a given load balancer and array of load balancers 2013-05-31 18:20:09 -07:00
Anuj Biyani
20b59fb132 increment the desired capacity 2013-05-31 15:30:14 -07:00
Anuj Biyani
67c907aa04 update max size if equal to desired capacity 2013-05-31 15:16:41 -07:00
Anuj Biyani
6f74b5c511 suspend certain autoscaling processes before cycling servers 2013-05-31 15:05:16 -07:00
Anuj Biyani
4f466e1a19 on init, connect to AWS and check for the AS group 2013-05-31 13:08:23 -07:00
Anuj Biyani
2bdaca25bb make aws-missing-tools a gem 2013-05-30 16:19:08 -07:00