Closed polachz closed 3 weeks ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @Ajpantuso @Thulium-Drake @UnderGreen @helldorado @joshainglis @karmab @krauthosting click here for bot help
After my various triees by the direct Proxmox REST api I have discoveredt that the RST API has same behavior. Then here is no way how to reach this. Closing as invalid
Summary
When use community.general.proxmox_kvm module to destroy the VM, all VM disks are destroyed, even if disk is detached from VM. This behavior can't be changed by any parameter.
When VM is destroyed by Proxmox GUI, special checkbox:
Must be checked to destroy detached disk
Issue Type
Bug Report
Component Name
proxmox_kvm
Ansible Version
Community.general Version
Configuration
OS / Environment
Fedora 40
Steps to Reproduce
Expected Results
I expected thatdetached VM disk stay preserved on the Proxmox storage as it happened when VM is removed by GUI.
Alternatively i excpect parameter to specify if detached disk will be destroyed or not.
See sumary filed
Actual Results
VM Disk is destroyed and can't be re-attached to re-created VM
Code of Conduct