Discussion:
[node-devel] how to debug ovrit frontent and backent
彭春洪
2014-03-26 06:51:05 UTC
Permalink
hello,everybody.when I development with ovirt,I have meet some obstacles
because of without the debug environment. So I really want to know how to
config it. Thank you for help!
Fabian Deutsch
2014-03-26 07:48:26 UTC
Permalink
Post by 彭春洪
hello,everybody.when I development with ovirt,I have meet some
obstacles because of without the debug environment. So I really want
to know how to config it. Thank you for help!
Hi,

could you explain a bit more in what areas of oVirt Node you want to
develop, this will help to see how you can better debug your stuff.

If you are developing something in the TUI you can use the "dry mode".

In the ovirt-node directory, just run:

PYTHONPATH=src/ scripts/ovirt-node-setup --dry --defaults /tmp/cfg_dummy
--debug

That way you can experiment with the TUI, without actually installing
it.

Additionally you can find log files in
/var/log/ovirt.log
/var/log/ovirt-node.log
/var/log/ovirt-node.debug.log (when the setup was started with --debug)

Greetings
fabian

Loading...