ansible/test
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
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration ec2_asg: fix #28087 and #35993 (#36679) 2018-03-05 11:47:31 -05:00
legacy exo_dns_record: remove limitation for multiple records only for A type (#35173) 2018-02-05 22:40:02 +01:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
sanity [terraform] Support initializing modules and providers at runtime (#36996) 2018-03-05 11:01:53 -05:00
units Fix nxos_interface multiple issues (#36827) 2018-03-01 10:56:16 +05:30
utils Run each Windows version independently in CI. 2018-02-09 16:38:27 -08:00