debug logging?

mo_

Renowned Member
Oct 27, 2011
401
9
83
Germany
Hi,

I was wondering whether theres a way to get the task log to save the FULL command that it tried to execute, regardless of whether it succeeded or failed.

One example: somebody else saw this:

TASK ERROR: create failed - rbd create vm-109-disk-1' error: rbd: create error: (22) Invalid argument

Now, clearly this is not the full command, its missing -m [mon-addr] --pool and --size, if not even -c and --keyring/--keyfile

So... is it possible to encourage the task log to save the FULL command?

PS: this is more of an experimental thing, so I would be totally fine with modifying the corresponding perl code.