Files
community.general/test/integration/targets
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
..
2017-08-31 12:11:43 -07:00
2018-01-29 11:49:30 +01:00
2017-12-15 14:40:02 -05:00
2017-09-14 07:14:30 -07:00
2018-02-07 23:33:04 -08:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-02 09:50:15 -05:00
2018-02-21 10:37:51 -08:00
2018-02-21 10:37:51 -08:00
2017-08-15 23:12:08 -07:00
2017-07-28 10:57:16 -07:00
2018-01-22 11:30:52 +05:30
2018-02-08 18:50:37 +05:30
2017-08-31 12:11:43 -07:00
2018-01-31 23:26:16 -08:00
2018-01-15 21:15:04 -08:00
2017-09-14 07:14:30 -07:00
2018-02-14 17:01:36 -05:00
2017-12-21 21:30:10 +01:00
2017-08-31 12:11:43 -07:00
2018-02-07 20:58:47 +11:00
2018-02-11 11:40:33 -05:00
2017-08-31 12:11:43 -07:00
2018-01-27 12:35:18 +01:00
2018-01-03 12:20:43 -08:00