Bug 746960
Summary: | interfaceNumOfDefinedInterfaces:229 : internal error failed to get number of defined interfaces on host | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ferry Huberts <mailings> | ||||
Component: | libvirt | Assignee: | Fedora Virtualization Maintainers <virt-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | berrange, christoph.wickert, clalancette, crobinso, dougsland, itamar, jforbes, laine, veillard, virt-maint | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-07 00:57:59 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: | |||||||
Attachments: |
|
Description
Ferry Huberts
2011-10-18 12:22:17 UTC
ok, forget this report I went through my /etc/sysconfig/network-scripts/... config files and delete the ones I no longer use, and now the error report is gone. I'll reopen this. I tried deleting files from /etc/sysconfig/network-scripts/, but it doesn't help. There are only a few files left and I need them, even if their interfaces are not connected or available all the time (WiFi, VPN). As soon as virt-manager is started, /var/log/messages gets spammed with two errors a second: Dec 22 10:14:50 my-hostname libvirtd: 10:14:50.055: 5228: error : interfaceNumOfDefinedInterfaces:229 : Interner Fehler Ermitteln der Anzahl von definierten Schnittstellen auf Host fehlgeschlagen (netcf: unspecified error - errors in loading some config files) Dec 22 10:14:51 my-hostname libvirtd: 10:14:51.024: 5225: error : interfaceNumOfInterfaces:187 : Interner Fehler Ermitteln der Anzahl von Schnittstellen auf Host fehlgeschlagen (netcf: unspecified error - errors in loading some config files) It is not possible to use the log for any other debugging then and the logs just get huge. Please let me know what you need for further debugging. Please attach the ifcfg files that are still in /etc/sysconfi/network-scripts (after redacting any sensitive information). Also install the netcf package (libvirt only requires netcf-libs), run "ncftool -d list", and attach the output. Created attachment 549183 [details]
Contents of /etc/sysconfig/network-scripts
I have changed the names/SSIDs to generic names and replaced one public IP with XXX.XXX.XXX.XXX. Let me know if you have any questions.
# ncftool -d list warning: augeas initialization had errors please file a bug with the following lines in the bug report: /augeas/error /augeas/error/pathx = "garbage at end of path expression" /augeas/error/pathx/pos = "/augeas/files/etc/sysconfig/network-scripts/ifcfg-ifcfg-Hands_off|=|!" /augeas/load/Modprobe/error = "/augeas/files/etc/sysconfig/network-scripts/ifcfg-ifcfg-Hands_off|=|!" /augeas/load/Sysfs/error = "/augeas/files/etc/sysconfig/network-scripts/ifcfg-ifcfg-Hands_off|=|!" error: unspecified error error: errors in loading some config files Seems like etc/sysconfig/network-scripts/ifcfg-Hands_off! is the offending file. I'll try to rename it. Ok, after renaming it to ifcfg-Hands_off (without exclamation mark) ncftool is happy: $ ncftool -d list eth0 lo libvirt no longer reports errors and the Wifi still works in NetworkManager. So who is to blame here? NM because it should not name the files strictly after the SSID or netcf because it cannot handle these file names? Sorry for the lack of response, but F15 is end of life real soon, so closing as WONTFIX. Christoph (or anyone), if you can still reproduce with a more recent Fedora, please reopen this report and we can go from there. Likely this issue is that netcf wasn't expecting the generated name, but if other tools can handle it, so should netcf. I fail to reproduce the issue on F17. Network manager now automatically replaces problematic chars, a WLAN with the SSID "Test!" now is saved as "ifcfg-Test-". When I manually mv it to "ifcfg-Test!" ncftool and augeas still complain, but there are no more log entries from libvirt, so I consider this problem solved. The augeas problem will be tracked in bug 698933. |