Bug 1208897
Summary: | Bad parsing of network-scripts/ifcfg-xxxx files. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laine Stump <laine> |
Component: | netcf | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6 | CC: | allan-redhat, cwei, dyuan, hbrock, honzhang, jiri.lunacek, laine, mshao, mzhan, pmoore, thoger, virt-bugs, ydu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | netcf-0.2.4-3.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 761246 | Environment: | |
Last Closed: | 2015-07-22 06:26:13 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: |
Description
Laine Stump
2015-04-03 18:22:47 UTC
I can reproduce it on old version. [root@ibm-x3650m3-04 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1; ONBOOT=yes; IPV6INIT="yes"; IPV6_AUTOCONF="no"; DHCPV6C="no"; IPV6ADDR="2002::200/64"; IPV6ADDR_SECONDARIES="2002::201/64 2002::202/64"; [root@ibm-x3650m3-04 ~]# virsh iface-list --all error: Failed to list interfaces error: internal error failed to get number of host interfaces: unspecified error - errors in loading some config files [root@ibm-x3650m3-04 ~]# ll /usr/share/netcf/lenses/sysconfig.aug -rw-r--r--. 1 root root 2041 Jul 20 2010 /usr/share/netcf/lenses/sysconfig.aug And, I can not reproduce it on below fixed version. [root@ibm-x3650m3-04 ~]# rpm -q libvirt netcf-libs libvirt-0.10.2-53.el6.x86_64 netcf-libs-0.2.4-3.el6.x86_64 [root@ibm-x3650m3-04 ~]# ll /usr/share/netcf/lenses/sysconfig.aug ls: cannot access /usr/share/netcf/lenses/sysconfig.aug: No such file or directory [root@ibm-x3650m3-04 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1; ONBOOT=yes; IPV6INIT="yes"; IPV6_AUTOCONF="no"; DHCPV6C="no"; IPV6ADDR="2002::200/64"; IPV6ADDR_SECONDARIES="2002::201/64 2002::202/64"; [root@ibm-x3650m3-04 ~]# virsh iface-list --all Name State MAC Address -------------------------------------------- eth0 active e4:1f:13:b9:60:a0 eth1 inactive e4:1f:13:b9:60:a2 lo active 00:00:00:00:00:00 usb0 active e6:1f:13:ac:60:a3 [root@ibm-x3650m3-04 ~]# virsh iface-dumpxml eth1 <interface type='ethernet' name='eth1'> <start mode='onboot'/> <protocol family='ipv6'> <ip address='2002::200' prefix='64'/> <ip address='2002::201' prefix='64'/> <ip address='2002::202' prefix='64'/> </protocol> </interface> We can get expected results. 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. https://rhn.redhat.com/errata/RHBA-2015-1307.html |