Bug 1208894
| Summary: | Remove extraneous single quotes from IPV6ADDR_SECONDARIES | ||
|---|---|---|---|
| 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: | medium | ||
| Version: | 6.6 | CC: | dyuan, honzhang, mzhan, virt-bugs |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | netcf-0.2.4-3.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1170941 | Environment: | |
| Last Closed: | 2015-07-22 06:26:11 UTC | Type: | Bug |
| 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 17:58:09 UTC
This bug is very easy to reproduce / test for fix, and the patch is trivial with no danger of causing other regressions. Verified as below:
[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 ~]# cat nic.xml
<interface type='ethernet' name='enp2s0'>
<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>
[root@ibm-x3650m3-04 ~]# virsh iface-define nic.xml
Interface enp2s0 defined from nic.xml
[root@ibm-x3650m3-04 ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp2s0
DEVICE="enp2s0"
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-dumpxml enp2s0
<interface type='ethernet' name='enp2s0'>
<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>
The extraneous single quotes have been removed from ifcfg-XXX, we can get expected results, moved to Verified.
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 |