Hide Forgot
Description of problem: "--debug" option does not work in virt-top. Version-Release number of selected component (if applicable): virt-manager-0.9.0-6.el6 libvirt-0.9.4-16.el6 python-virtinst-0.600.0-3.el6 virt-top-1.0.4-3.11.el6.x86_64 # uname -a Linux wjw.nay.redhat.com 2.6.32-198.el6.x86_64 #1 SMP Thu Sep 15 23:40:38 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux How reproducible: always Steps to Reproduce: 1. Assume there are some running guest. # virsh list --all Id Name State ---------------------------------- 45 6.2new running 46 xp running 47 5.7-x86_64 running 2. Run virt-top --debug debug-file in gnome-terminal # virt-top --debug debug-1 3. Press 0/1/2/3. 4. Press q to exit. 5. Check the file "debug-1", there is no message, the file is blank. # cat debug-1 # ll debug-1 -rw-r--r--. 1 root root 2164 Oct 0 00:33 debug-1 6. Run virt-top with the wrong parameter. # virt-top -c qemu+ssh://ip/system --debug debug-2 : Connection reset by peer recv data: ssh: Could not resolve hostname ip: Name or service not known : Connection reset by peerROR: VIR_FROM_RPC: Cannot recv data: ssh: Could not resolve hostname ip: Name or service not known 7. Check the file "debug-2". # cat debug-2 cat: debug-2: No such file or directory Actual results: As above. Expected results: Send debug info to debug-1. debug-2 should be generated in current directory to store debug and error messages. Additional info: this issue also occur in below build: virt-top-1.0.4-3.8.el6.x86_64 virt-top-1.0.4-3.1.el6.x86_64
*** This bug has been marked as a duplicate of bug 680349 ***
No debug file is created if there are no debug messages.