qm agent timeout

Nemesiz

Renowned Member
Jan 16, 2009
735
57
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...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!