qm agent timeout

Nemesiz

Renowned Member
Jan 16, 2009
783
81
93
Lithuania
Executing qm agent command fstrim I get timeout very soon. I think agent request must wait longer for respond.

Code:
# qm agent 102 fstrim
VM 102 qmp command 'guest-fstrim' failed - got timeout

# qm agent 102 fstrim
VM 102 qmp command 'guest-fstrim' failed - got timeout

# qm agent 102 fstrim
VM 102 qmp command 'guest-fstrim' failed - got wrong command id '1290001' (expected 950601)

# qm agent 102 fstrim
{
   "paths" : [
      {
         "minimum" : 4096,
         "path" : "/",
         "trimmed" : 0
      }
   ]
}
 
Yes, sounds right... Can you please open a bug report at https://bugzilla.proxmox.com/

We should probably add a timeout parameter to this CLI command so than admins may overwrite it if they know that it needs longer and should not be interrupted...