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
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
..
become Update sesu.py: use defined prompt (#227) 2020-05-28 23:09:11 +01:00
cache redis cache - add support for TLS/encryption in transit (#410) 2020-05-30 12:26:37 +02:00
callback Bug/syslog json exception (#408) 2020-05-25 07:47:01 +02:00
connection Fix the environment variable 2020-05-19 22:37:17 -07:00
doc_fragments Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (#353) 2020-05-18 20:43:50 +01:00
filter time_filter: improve hints in error message (#368) 2020-05-20 09:22:56 +02:00
inventory Add validity check for [Driver][IPAddress] else use docker-machine ip command. (#412) 2020-05-25 23:04:09 +02:00
lookup Add sops lookup plugin (#374) 2020-06-06 21:36:28 +02:00
module_utils Add sops lookup plugin (#374) 2020-06-06 21:36:28 +02:00
modules scaleway_compute: When removing node, wait for transition (#444) 2020-06-11 11:34:15 +03:00