mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
proxmox_disk: fix async method of resize_disk (#9256)
* proxmox_disk: fix async method of resize_disk Rewritten resizing of disk into separated function and used async method to retrieve task result. Additionally, rewritten function to detect failed tasks early, without waiting for timeout. * proxmox_disk: add changelog fragment * proxmox_disk: fix sanity errors * Apply suggestions from code review Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * proxmox_disk: workaround for legacy Proxmox * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from the review --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
6748ec3993
commit
d8b38073c1
3 changed files with 123 additions and 44 deletions
|
@ -0,0 +1,4 @@
|
|||
bugfixes:
|
||||
- proxmox_disk - fix async method and make ``resize_disk`` method handle errors correctly (https://github.com/ansible-collections/community.general/pull/9256).
|
||||
minor_changes:
|
||||
- proxmox module utils - add method ``api_task_complete`` that can wait for task completion and return error message (https://github.com/ansible-collections/community.general/pull/9256).
|
Loading…
Add table
Add a link
Reference in a new issue