[Bug 1451598] Re: Libvirt spams libvirt.log with virNetSocketReadWire and similar errors
Chris J Arges
1451598 at bugs.launchpad.net
Thu Jun 11 18:23:52 UTC 2015
Hello Dave, or anyone else affected,
Accepted libvirt into precise-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/libvirt/0.9.8-2ubuntu17.22 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: libvirt (Ubuntu Precise)
Status: New => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1451598
Title:
Libvirt spams libvirt.log with virNetSocketReadWire and similar errors
Status in libvirt package in Ubuntu:
Fix Released
Status in libvirt source package in Precise:
Fix Committed
Bug description:
[Impact]
Libvirt spams /var/log/libvirt/libvirtd.log logs with
2014-11-19 14:31:15.787+0000: 46611: warning : qemuOpenVhostNet:493 : Unable to open vhost-net. Opened so far 0, requested 1
2014-11-19 15:18:36.735+0000: 46610: error : virNetSocketReadWire:1377 : End of file while reading data: Input/output error
2014-11-21 20:56:04.275+0000: 46610: error : virNetSocketReadWire:1377 : End of file while reading data: Input/output error
2014-11-23 11:31:34.321+0000: 46610: error : virNetlinkEventCallback:340 : nl_recv returned with error: No buffer space available
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://libvirt.org/git/?p=libvirt.git;a=commit;h=89563efc0209b854d2b2e554423423d7602acdbd
* Trusty and newer already have this fix and many more.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1451598/+subscriptions
More information about the Ubuntu-sponsors
mailing list