msven
a2b3120e85
ec2_asg: fix #28087 and #35993 ( #36679 )
...
Fixes #35993 - Changes to update_size in commit eb4cc31 made it so
the group dict passed into update_size was not modified. As a result,
the 'replace' call does not see an updated min_size like it previously
did and doesn't pause to wait for any new instances to spin up. Instead,
it moves straight into terminating old instances. Fix is to add batch_size
to min_size when calling wait_for_new_inst.
Fixes #28087 - Make replace_all_instances and replace_instances behave
exactly the same by setting replace_instances = current list of instances
when replace_all_instances used. Root cause of issue was that without lc_check
terminate_batch will terminate all instances passed to it and after updating
the asg size we were querying the asg again for the list of instances - so terminate batch
saw the list including new ones just spun up.
When creating new asg with replace_all_instances: yes and lc_check: false
the instances that are initially created are then subsequently replaced.
This change makes it so replace only occurs if the asg already existed.
Add integration tests for #28087 and #35993 .
2018-03-05 11:47:31 -05:00
..
2016-12-08 11:22:25 -05:00
2018-01-30 12:23:52 +00:00
2018-01-30 12:23:52 +00:00
2017-07-18 16:11:09 -04:00
2018-01-30 12:23:52 +00:00
2017-08-14 16:35:15 -04:00
2017-08-14 16:35:15 -04:00
2018-01-30 12:23:52 +00:00
2017-08-12 01:44:39 -07:00
2017-08-22 11:17:20 -04:00
2018-01-16 12:18:51 +00:00
2018-01-16 15:08:56 -08:00
2017-12-21 19:47:02 -05:00
2018-01-26 14:52:42 -05:00
2018-01-30 13:24:38 -05:00
2018-01-30 17:28:45 -05:00
2018-01-30 17:22:06 -05:00
2018-02-28 16:30:34 +10:00
2018-01-29 17:23:03 -05:00
2018-01-16 12:18:51 +00:00
2018-01-29 17:23:03 -05:00
2018-01-29 17:23:03 -05:00
2018-02-01 14:08:59 -05:00
2017-10-30 09:10:11 +10:00
2017-12-07 19:29:21 -08:00
2018-01-26 14:48:50 -05:00
2017-11-07 13:56:17 -05:00
2018-02-07 18:27:47 -05:00
2018-03-02 16:33:04 -05:00
2018-02-21 09:33:33 -05:00
2018-02-28 14:40:58 +00:00
2018-02-21 08:14:17 -05:00
2018-01-16 12:18:51 +00:00
2018-02-21 08:14:17 -05:00
2018-02-21 08:14:17 -05:00
2017-10-26 15:18:31 -04:00
2018-01-17 11:00:28 -05:00
2018-01-17 13:17:15 -05:00
2018-01-17 11:03:23 -05:00
2018-02-02 15:09:55 -05:00
2018-02-01 11:32:33 -05:00
2018-01-16 08:45:01 -05:00
2018-01-16 12:18:51 +00:00
2018-02-07 15:04:36 -05:00
2018-02-07 15:52:28 -05:00
2017-12-20 15:20:05 +00:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-12-14 16:16:59 -05:00
2018-01-18 10:20:10 +10:00
2017-11-16 10:14:20 -05:00
2017-12-21 13:48:23 -05:00
2018-01-03 16:35:24 -05:00
2018-03-05 11:47:31 -05:00
2018-01-15 09:52:51 -05:00
2017-08-15 23:12:08 -07:00
2018-02-16 13:14:58 +00:00
2017-09-21 13:06:14 -04:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-14 16:16:59 -05:00
2018-01-29 16:31:21 -05:00
2017-10-31 09:49:30 +10:00
2018-02-23 09:24:25 +10:00
2017-09-27 09:12:46 +10:00
2018-03-02 11:31:53 -05:00
2018-01-16 12:18:51 +00:00
2017-12-07 20:25:55 +00:00
2018-01-16 12:18:51 +00:00
2017-12-08 15:41:25 -05:00
2018-01-16 12:18:51 +00:00
2017-12-07 20:25:55 +00:00
2017-12-15 12:06:24 -05:00
2017-12-15 12:06:24 -05:00
2017-12-07 20:25:55 +00:00
2017-11-07 13:56:17 -05:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2018-02-16 13:01:02 +10:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-26 09:22:30 -05:00
2018-01-22 09:14:22 +10:00
2017-10-17 14:34:29 -04:00
2017-10-31 09:49:30 +10:00
2017-10-09 15:36:12 +10:00
2018-01-08 16:24:40 -05:00
2018-03-02 16:09:32 +01:00
2017-11-27 16:51:38 +10:00
2018-02-15 10:51:16 -05:00
2018-02-21 09:11:36 -05:00
2018-02-20 08:56:34 -05:00
2018-03-01 15:30:08 -05:00
2018-01-16 12:18:51 +00:00
2017-08-15 23:12:08 -07:00
2018-02-09 16:32:23 -05:00
2017-10-26 21:32:46 +10:00
2017-11-16 14:58:12 -05:00
2018-01-08 13:16:49 -05:00
2018-01-16 12:18:51 +00:00
2018-02-07 17:39:12 -05:00
2018-01-16 15:08:56 -08:00
2018-01-26 10:51:17 -06:00
2017-08-15 23:12:08 -07:00
2017-12-14 16:16:59 -05:00
2018-01-24 10:42:41 +10:00
2018-02-07 21:05:51 -05:00
2018-01-22 13:37:09 -05:00
2017-12-14 16:16:59 -05:00
2018-01-26 16:13:22 -05:00
2018-01-03 08:56:19 -05:00
2018-02-20 10:17:31 -05:00
2018-02-22 10:30:50 +10:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2017-12-07 20:25:55 +00:00
2018-01-30 16:12:22 -05:00
2017-10-31 09:49:30 +10:00
2017-12-07 20:25:55 +00:00
2018-01-15 16:44:46 -05:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-10-31 09:49:30 +10:00
2018-01-22 16:47:41 -05:00
2018-02-07 07:45:35 -05:00
2018-01-16 12:18:51 +00:00
2018-03-02 14:03:12 -05:00
2017-08-23 11:40:32 -04:00
2018-01-22 14:29:22 -05:00
2018-01-16 12:18:51 +00:00
2018-01-16 15:08:56 -08:00
2018-01-16 15:08:56 -08:00
2018-01-16 12:18:51 +00:00
2018-01-31 13:18:09 -05:00
2017-08-15 23:12:08 -07:00
2018-01-26 14:55:42 -05:00
2018-01-16 12:18:51 +00:00
2018-01-17 13:23:27 -05:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-26 16:24:38 -05:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2017-12-07 20:25:55 +00:00
2017-10-09 07:38:41 -07:00
2017-10-31 09:49:30 +10:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2017-12-07 20:25:55 +00:00
2017-12-18 12:43:15 -05:00
2017-12-08 14:15:41 +10:00
2017-10-19 08:55:45 +10:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-20 14:53:17 +00:00
2017-12-07 20:25:55 +00:00
2018-01-16 12:18:51 +00:00
2018-01-16 12:18:51 +00:00
2017-11-24 11:35:58 +10:00
2018-01-22 17:46:08 -05:00
2017-12-07 20:25:55 +00:00