Bug 1094552

Summary: Use the IPv6 configuration of before NIC when set up another NIC without IPv6 configuration
Product: Red Hat Enterprise Virtualization Manager Reporter: wanghui <huiwa>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: cshao, dfediuck, gklein, gouyang, hadong, iheim, leiwang, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:56:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1123329, 1142923, 1156165    

Description wanghui 2014-05-06 02:42:48 UTC
Description of problem:
It will use the before NIC configuration of IPv6 when set up another NIC without IPv6 configuration.

Version-Release number of selected component (if applicable):
rhevh-6.5-20140430.0.iso
ovirt-node-3.0.1-18.el6_5.10.noarch

How reproducible:
100%

Steps to Reproduce:
1. Clean install rhevh-6.5-20140430.0.iso.
2. Configure eth0 with ipv4 dhcp and ipv6 dhcp mode.
3. Configure eth1 with ipv4 dhcp.
4. Check the eth1 configuration file.

Actual results:
1. After step3, eth1 can also get ipv6 dhcp address. 
2. After step4, the output is as follows.
# cat /etc/sysconfig/network-scripts/ifcfg-eth1 
  BOOTPROTO="dhcp"
  DEVICE="eth0"
  DHCPV6C="yes"
  HWADDR="52:54:00:2c:16:e3"
  IPV6FORWARDING="no"
  IPV6INIT="yes"
  IPV6_AUTOCONF="no"
  ONBOOT="yes"
  PEERNTP="yes"
3. After step5, the eth1 IPv6 set up DHCP in NIC details page.

Expected results:
1. After step3, eth1 should not get ipv6 dhcp address.
2. After step4, eth1 should not have the IPv6 configured file.
3. After step5, eth1 should not set IPv6 DHCP in NIC details page.

Additional info:

Comment 1 Fabian Deutsch 2014-05-06 19:13:01 UTC
Please update the unittest as well.

Comment 2 Fabian Deutsch 2014-07-24 16:02:59 UTC
This is a mass change, moving bugs of merged patches into MODIFIED.

Please correct the state, if you think that the move was not justified.

Comment 4 wanghui 2014-12-18 06:51:29 UTC
Test Version:
rhev-hypervisor6-6.6-20141212.0.iso
ovirt-node-3.1.0-0.34.20141210git0c9c493.el6.noarch

Test step:
1. Clean install rhev-hypervisor6-6.6-20141212.0.iso.
2. Configure eth0 with ipv4 dhcp and ipv6 dhcp mode.
3. Configure eth1 with ipv4 dhcp.
4. Check the eth1 configuration file.

Test result:
1. After step4, eth1 can be configured as ipv4 dhcp.

So this issue is fixed in rhev-hypervisor6-6.6-20141212.0.iso. Change the status from ON_QA to Verified.

Comment 6 errata-xmlrpc 2015-02-11 20:56:03 UTC
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/RHEA-2015-0160.html