Am 22.10.25 um 1:50 PM schrieb Fabian Grünbichler:
> 
> On Wed, 22 Oct 2025 12:41:15 +0200, Fiona Ebner wrote:
>> As reported in the community forum [0], Proxmox Datacenter Manager
>> will fail to handle the result of the status API call for a shut down
>> VM. The reason is that the return schema requires having an integer
>> return value for disk{read,write}, so an explicit undef is not
>> allowed. However, the properties are optional and are not relevant for
>> a shut down guest, so just don't set them at all if no value was
>> queried. This also makes sure that bug #6207 does not reappear. Note
>> that pvestatd would already not consider the value for shut down VMs
>> and treats the value not being present and the value being an explicit
>> undef the same, see update_qemu_status() in pvestatd.pm.
>>
>> [...]
> 
> Applied, thanks!
> 
> [1/1] vm status: make sure disk{read, write} adhere to return schema to fix 
> regression for PDM
>       commit: 069d8a6e14d9524ae3f2c57ba7af3668721ddbc5
> 
> Best regards,


Also applied this for stable-bookworm now, because it fixes the
corresponding backport:

Fixes: 452aa74e ("fix #6207: vm status: return undef values when
disk{read, write} cannot be queried")

Applied as:
vm status: make sure disk{read, write} adhere to return schema to fix
regression for PDM
commit: 3dec388c20a50b0240b65cc8ba67c1fe1571804a


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to