Hide Forgot
Description of problem: Sometimes the log generated by engine-backup is not enough for debugging failures. Due to the fix to bug 1172191 it's somewhat difficult to cause it to produce extra debugging information. We probably want to make it export OTOPI_DEBUG=1 for the calls to ovirt-engine-provisiondb. We probably want to run it with 'set -x', but also need to consider using BASH_XTRACEFD with some other file descriptor, as in some places we analyze stderr of some commands. This will make it bash-specific. Another option which might be more complex but more portable is to 'set +x' before such commands. Depending on the solution, it might make sense to make this optional, e.g. only when a flag '--debug' is passed.
Closing old bugs. Please reopen if still relevant. Patches are welcomed.