server_action not running reboot
Bug #2046429 reported by
Darren Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ansible-collections-openstack |
New
|
Undecided
|
Unassigned |
Bug Description
When running action `reboot_soft` or `reboot_hard`, it always outputs ok, after checking how the module works, I found status checking logic for actions contradicts to openstack compute api.
In the compute API, soft reboot is only available when instance status is `ACTIVE`, but in the ansible module, if the instance status is `ACTIVE` for action `reboot_soft` when checking `_action_map`, the module will exit without changes before executing actions.
refs:
https:/
description: | updated |
To post a comment you must log in.