Bug 797108

Summary: DNS server changed unexpectedly even without change on the TUI
Product: Red Hat Enterprise Linux 6 Reporter: shine <shcao>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: acathrow, bsarathy, cshao, fdeutsch, gouyang, jboggs, leiwang, mburns, ovirt-maint, sgordon, ycui
Target Milestone: rcKeywords: TestOnly
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When configuring the Hypervisor to use DHCP, previously configured DNS server entries would be wiped out. Now, the previously configured servers are kept.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-19 14:19:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description shine 2012-02-24 09:48:52 UTC
Description of problem:
DNS server changed unexpectedly.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.3-20120215.0.el6

How reproducible:
100%

Steps to Reproduce:
1. Configure eth0 with dhcp, DNS server is blank, use arrow keys switch to "status" page and back to "network",it's 10.66.127.10 now. (bug 746180)
2. Change DNS server to 10.66.104.210 and apply, it still show 10.66.127.10 both in tui and /etc/resolv.conf.
3. Change DNS server to 10.66.104.210 again and apply, it is 10.66.104.210 both in tui and /etc/resolv.conf.
4. Configure the eth0 with dhcp again, DNS server displayed 10.66.104.210, but in /etc/resolv.conf it's 10.66.127.10, use arrow keys switch to "status" page and back to "network", it's 10.66.127.10. (bug 746180)
5. Do not change anything and apply on the network page. the DNS server changed from 10.66.127.10 to 10.66.104.210.
6. Do not change anything and apply on the network page. The DNS server changed from 10.66.104.210 to 10.66.127.10
7. repeat press the apply button, dns server is altering between them.
  
Actual results:
DNS server changed unexpectedly after some configure actions.

Expected results:
DNS server should not change if user does not change it on TUI.

Comment 3 Guohua Ouyang 2012-04-17 02:53:03 UTC
verified on 6.3-20120411.1 build, the DNS server always displayed what you have changed.

move the bug to status "verified".

Comment 4 Mike Burns 2012-06-13 16:54:35 UTC
    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:
When using DHCP, a previously configured DNS server would be wiped out.  Now, the previously configured server is honored and kept correctly.

Comment 5 Stephen Gordon 2012-06-13 21:52:55 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-When using DHCP, a previously configured DNS server would be wiped out.  Now, the previously configured server is honored and kept correctly.+When configuring the Hypervisor to use DHCP, previously configured DNS server entries would be wiped out. Now, the previously configured servers are kept.

Comment 7 errata-xmlrpc 2012-07-19 14:19:21 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.

http://rhn.redhat.com/errata/RHBA-2012-0741.html