Collect all Tasks of a VM

Jun 19, 2024
20
3
3
Hi there,

Maybe I'am missing something here, but I just realized that it's a little bit cumbersome that we have to search through every node for a complete task log of a VM if the VM is migrated. Also the "hard" limit of 1000 entries is somewhat restricting.
I'm not sure if it would make sense to change that behavior on the nodes themself, too, But in my eyes it would certainly make sense to collect the tasks from every node for every vm in the PDM to have a complete log of it. Would it make sense to place a feature request in bugtracker, or do I miss something which is already available?
 
you can of course open a feature request for this, but no promises that it'll be done (or when)

one of the problems in implementing this is that the task logs are saved on the local filesystem on each node, so not easily accessible from the other nodes. And we usually don't do api calls that connect to all other nodes to collect data (for performance and failure handling reasons)

if you're automating, writing a short script that loops over all nodes and fetches the relevant tasks should not be a problem though
(depends on what exactly it is you're wanting to do)

EDIT: just saw in which subforum i am ^^ yeah for PDM it would probably make sense to collect these tasks for all nodes for a guest, so go ahead and open a feature request please
 
Last edited:
Actually my main reason is that I see all tasks of a VM at the VMs "Task". Because I stumbled upon questions like:
What did I do to this machine on last friday, and didn't see the tasks of it. And wasn't aware that these are only found on the host, where the VM was running at this time.
Yes, I know... but coming from VMWare I have silentely expected that I see all events of a VM at the VM's options.I think it's important to know that you only see the records of the node which it is currently running.
This is cumbersome but not yet that bad.

But if it comes to the PDM it would be very nice to see a concentrated log of a VM from all nodes. A datacenter manager should give such an option.