Bug 871192
| Summary: | All virsh commands hang and have to be terminated manually. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Travis <Travis.Ross> | ||||||
| Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> | ||||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.7 | CC: | bsarathy, dyuan, jdenemar, mzhan, rwu, Travis.Ross, zpeng | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-03-06 15:55:17 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Travis
2012-10-29 21:11:24 UTC
Created attachment 635225 [details]
libvirtd debug log
Adding log based on following settings.
/etc/libvirt/libvirtd.conf and setting:
log_level=1
log_filters=""
log_outputs="1:file:/var/log/libvirtd.log"
Looks like qemu-kvm is not responding for some reason. And since the old libvirtd from RHEL-5 starts all autostarted domains synchronously before even accepting any client connections, nothing works. Could you also attach a debuger to libvirtd (gdb /usr/sbin/libvirtd `pidof libvirtd`) and attach the output of "thread apply all backtrace" gdb command? Getting qemu logs for all autostarted domains would help as well. You can find them in /var/log/libvirt/qemu/NAME.log. In case you killed libvirtd since you gathered the debug logs and need to reboot the host again to get the backtrace and qemu logs, please, attach libvirtd.log again so that it matches the backtrace and qemu logs. Created attachment 636160 [details]
GDB of libvirtd --daemon PSID
There have been no additional reboots. I was able to remove the non-required VM's from the autostart to keep the business moving while I was traveling.
I have attached the output from the gdb trace against the libvirtd --daemon process not sure that's it's going to provide any usefull information it seems to have had issues.
However, the virsh commands area actually now functioning as expected, so I might have been trying to work with it too soon after it's boot.
(In reply to comment #3) Thanks for your patience. If I understand correctly you're saying these problems go away if you remove the particular machine from the autostart, right? If you are able to reproduce that again, could you install debuginfo package (at least for libvirt) and try to attach to GDB when it's stuck as described By Jiri in comment #2? Thanks Closing as INSUFFICIENT_DATA, feel free to reopen the bug if you encounter the problem again and are able to post additional information. Thanks, Martin. |