Project

General

Profile

Bug #63

Updated by Frank Refol 4 months ago

The following error is throw. When trying to execute the vm snapshot playbook to create snapshots of the Ansible inventory fails with the following error: 

 “New-style module did not handle its own exit” 

 See the following log snippet. 


 ``` shell 
 TASK [vms : Show vms_vmid] ********************************************************************************** 
 Sunday 22 June 2025    08:35:59 -0400 (0:00:00.061)         0:00:02.599 *********** 
 ok: [ansible-0] => { 
     "msg": "ansible-0 has a vmid of 101" 
 } 
 ok: [ansible-1] => { 
     "msg": "ansible-1 has a vmid of 100" 
 } full log. 

 TASK [vms : Create virtual machine snapshot] **************************************************************** https://semaphore.refol.us/api/project/1/tasks/148/raw_output 
 Sunday 22 June 2025    08:35:59 -0400 (0:00:00.060)         0:00:02.660 *********** 
 changed: [ansible-1 -> localhost] 
 fatal: [ansible-0 -> localhost]: FAILED! => {"changed": false, "msg": "New-style module did not handle its own exit"} 

 PLAY RECAP ************************************************************************************************** 
 ansible-0                    : ok=9      changed=0      unreachable=0      failed=1      skipped=0      rescued=0      ignored=0 
 ansible-1                    : ok=10     changed=1      unreachable=0      failed=0      skipped=0      rescued=0      ignored=0 

 ``` 

 Creating a snapshot using Proxmox UI works fine.

Back