Bug 713286
Summary: | virt-manager 0.8.7-2 fills message log VERY fast | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Dave Allan <dallan> |
Component: | netcf | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | berrange, crobinso, dyuan, gren, hbrock, jforbes, jlmagee, john.ellson, laine, lutter, mzhan, niharvey, pierre-bugzilla, rwu, troels, vbian, vinschen, virt-maint, yhuang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | netcf-0.1.9-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
Users had reported many repeated error logs related to certain interfaces. The cause was determined to be that those interfaces had associated config files in /etc/sysconfig/network-scripts, but no corresponding device in the kernel.
There are many situations that will result in this situation. For example, if a bridge interface has been ifdowned, it will not exist at all in the kernel, but its config files will stil exist. Another case is an "alias
interface" (eg "eth0:1", which is not really an interface on its own, but just an obsolete method of specifying a 2nd (or more) IP address for a single interface. (In the example given, the config files willtalk about the interface "eth0:1", but the kernel only knows about
"eth0".)
netcf was returning an error status any time it was asked for the current status of an interface it couldn't find in the kernel, so management applications that
periodically poll netcf for the status of all system interfaces (e.g. virt-manager) would quickly collect scads of error log messages.
The solution is to ignore failure to find an interface in the kernel (which in this situation is really just one more piece of information about the interface's status - the fact that it has a config but doesn't exist in the kernel).
|
Story Points: | --- |
Clone Of: | 698108 | Environment: | |
Last Closed: | 2011-12-06 15:19:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 698108 | ||
Bug Blocks: |
Description
Dave Allan
2011-06-14 21:11:36 UTC
A fix for this problem has been posted to netcf-devel: https://fedorahosted.org/pipermail/netcf-devel/2011-June/000579.html A fix for this bug is included in netcf-0.1.9-1.el6. A build is available here: https://brewweb.devel.redhat.com/buildinfo?buildID=173822 tested with netcf-0.1.9-1.el6.x86_64 libvirt-0.9.4-1.el6.x86_64 virt-manager-0.9.0-5.el6.x86_64 1. ifconfig br0:1 192.168.7.7 netmask 255.255.255.0 up 2. virt-manager 3. Observe log output Actual results: Aug 4 05:41:42 dhcp-93-106 kernel: ata1: hard resetting link Aug 4 05:41:42 dhcp-93-106 kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Aug 4 05:41:42 dhcp-93-106 kernel: ata1.00: configured for UDMA/133 Aug 4 05:41:42 dhcp-93-106 kernel: ata1: EH complete Aug 4 05:41:50 dhcp-93-106 cachefilesd[1464]: Scan complete Aug 4 05:42:20 dhcp-93-106 cachefilesd[1464]: Scan complete Aug 4 05:42:25 dhcp-93-106 kernel: ida_remove called for id=0 which is not allocated. Aug 4 05:42:25 dhcp-93-106 kernel: ida_remove called for id=0 which is not allocated. Aug 4 05:42:25 dhcp-93-106 kernel: ida_remove called for id=0 which is not allocated. Aug 4 05:42:26 dhcp-93-106 kernel: ida_remove called for id=0 which is not allocated. Aug 4 05:42:50 dhcp-93-106 cachefilesd[1464]: Scan complete Aug 4 05:43:20 dhcp-93-106 cachefilesd[1464]: Scan complete Aug 4 05:43:50 dhcp-93-106 cachefilesd[1464]: Scan complete There is no interfaceGetXMLDesc error message generated in messages log . So set bug status to VERIFIED *** Bug 729954 has been marked as a duplicate of this bug. *** Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Users had reported many repeated error logs related to certain interfaces. The cause was determined to be that those interfaces had associated config files in /etc/sysconfig/network-scripts, but no corresponding device in the kernel. There are many situations that will result in this situation. For example, if a bridge interface has been ifdowned, it will not exist at all in the kernel, but its config files will stil exist. Another case is an "alias interface" (eg "eth0:1", which is not really an interface on its own, but just an obsolete method of specifying a 2nd (or more) IP address for a single interface. (In the example given, the config files willtalk about the interface "eth0:1", but the kernel only knows about "eth0".) netcf was returning an error status any time it was asked for the current status of an interface it couldn't find in the kernel, so management applications that periodically poll netcf for the status of all system interfaces (e.g. virt-manager) would quickly collect scads of error log messages. The solution is to ignore failure to find an interface in the kernel (which in this situation is really just one more piece of information about the interface's status - the fact that it has a config but doesn't exist in the kernel). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1631.html |