PVE 9 Tasks 'hanging' when requesting task status

dw-cj

Member
Apr 9, 2024
55
3
8
Strange issue I've noticed since upgrading to PVE 9. Often times a task will 'complete' very fast, as it should. The Task log at the bottom of the PVE panel shows 'OK', and the task output shows 'TASK OK' at the end, as the task has successfully completed. However, then if you double click the task, the task status in the modal still shows as 'running'. It will stay this way for 10-20 minutes sometimes, even when the task has actually completed in only seconds. We rely on this API endpoint to track status for specific tasks, and it reports 'running' when the task is already complete. I've observed this with Clone, Resize, Stop, Destroy, and Configure tasks thus far. This specific test case is on PVE 9.1.1. But I am fairly certain it still happens on my nodes with the latest version. Its random though, and hard to reproduce. If this has already been fixed on later versions, please let me know and I apologize.

1769550032810.png
1769550149846.png
1769550196865.png