1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/cloud
Olof Johansson 3044c0288f
scaleway_compute: When removing node, wait for transition (#444)
To remove a scaleway compute node, one needs to stop it first. This is
handled internally within the module by shutting down before removing.
Shutting down the node transitions it to a "stopping" state, which is
not the "stopped" state we expect. We thus need the transition to
complete so that we can put it in the actual target state (absent, i.e.
delete it).

The mechanism for waiting for such transitions today is controlled by
module parameters, with default to not being enabled at all, which
includes the transition from ([running] -(stopping)-> [stopped]).

Without this chage, in case of a running node, we would shut it down
(transition it to "stopping"), not wait for it complete the transition,
realize that it's not yet stopped and issue a second shut down command
to the api. This would fail with a 400 Bad Request error, "already
stopped".

Reference: https://github.com/ansible/ansible/issues/45740
Reported-by: zwindler
2020-06-11 11:34:15 +03:00
..
alicloud Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
atomic Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
centurylink Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
cloudscale Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
digital_ocean Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
dimensiondata Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
docker Add 'init' option for docker_swarm_service. (#476) 2020-06-09 08:23:32 +02:00
google Clean up google modules (#351) 2020-05-19 20:40:43 +02:00
heroku Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
huawei Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
kubevirt Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
linode Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
lxc Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
lxd Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
memset Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
misc terraform module: Added backend_config_file and multiple variables_file (#394) 2020-06-03 15:23:00 +03:00
oneandone Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
online Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
opennebula Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
oracle Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
ovh Fix Ansible documentation in part of example formatting. Part 1 (#332) 2020-05-15 13:13:45 +03:00
ovirt Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (#353) 2020-05-18 20:43:50 +01:00
packet packet_device - add tags parameter (#418) 2020-05-29 16:51:07 +03:00
profitbricks Fix Ansible documentation in part of example formatting (#334) 2020-05-15 13:12:41 +03:00
pubnub Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
rackspace Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
scaleway scaleway_compute: When removing node, wait for transition (#444) 2020-06-11 11:34:15 +03:00
smartos Fix examples formatting (#345) 2020-05-16 15:07:51 +02:00
softlayer Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
spotinst Fix Ansible documentation in part of example formatting (#334) 2020-05-15 13:12:41 +03:00
univention Fix Ansible documentation in part of example formatting (#334) 2020-05-15 13:12:41 +03:00
webfaction Fix Ansible documentation in part of example formatting (#334) 2020-05-15 13:12:41 +03:00
xenserver Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00