Libvirt spams libvirt.log with virNetSocketReadWire and similar errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Dave Chiluk | ||
Precise |
Fix Released
|
Medium
|
Dave Chiluk |
Bug Description
[Impact]
Libvirt spams /var/log/
2014-11-19 14:31:15.787+0000: 46611: warning : qemuOpenVhostNe
2014-11-19 15:18:36.735+0000: 46610: error : virNetSocketRea
2014-11-21 20:56:04.275+0000: 46610: error : virNetSocketRea
2014-11-23 11:31:34.321+0000: 46610: error : virNetlinkEvent
2014-11-18 14:47:28.882+0000: 47095: error : qemuMonitorIO:615 : internal error: End of file from monitor
[Test Case]
1. Create a precise host
2. Create a number of kvm guests on that host using libvirt.
3. $ sudo killall kvm
4. See errors in log.
[Regression Potential]
* This is a backport of the upstream fix 89563efc0209b. So there is possibility that I screwed up the backport. However, I think I understand the error cleanup code in this area of libvirt, and have modeled the backport after that cleanup code.
* This patch has been tested, and does not appear to adversely affect libvirt functionality other than decreasing the number of warning messages.
[Other Info]
* This patch does not solve all the warning errors, but it does clean up a significant number of them *(about half given the above test case). This level of libvirt is pretty terrible with spamming it's logs. This level of libvirt also does not have a good interface that does all the reading and writing of the socket, so each function handles the reads and writes directly which results in lots of different error paths.
* Upstream commit is available here.
http://
* Trusty and newer already have this fix and many more.
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
Changed in libvirt (Ubuntu): | |
status: | Confirmed → Fix Released |
importance: | Low → Medium |
Changed in libvirt (Ubuntu Precise): | |
importance: | Undecided → Medium |
description: | updated |
Changed in libvirt (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Changed in libvirt (Ubuntu Precise): | |
status: | Fix Released → Fix Committed |
It should be noted this fix is already in trusty and newer.