Bug 1358193
Summary: | nameserver received from dhcp, but missing in /etc/resolv.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yedidyah Bar David <didi> |
Component: | rhev-hypervisor | Assignee: | Douglas Schilling Landgraf <dougsland> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Huijuan Zhao <huzhao> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.6.8 | CC: | cshao, dguo, didi, dougsland, gklein, huzhao, leiwang, lsurette, mgoldboi, pstehlik, sbonazzo, srevivo, weiwang, yaniwang, ycui, ykaul |
Target Milestone: | ovirt-3.6.11 | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-31 14:43:41 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: |
Description
Yedidyah Bar David
2016-07-20 09:32:12 UTC
'service network restart' temporarily fixes 'service ovirt-post restart' kills it again. Comment 2 (ovirt-post restrat) indicates that it is a Node issue. Huijuan, could you reproduce this issue on QE env.? (In reply to Yedidyah Bar David from comment #0) > Description of problem: > > $subject > > Version-Release number of selected component (if applicable): > > Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160711.0.el7ev) > > How reproducible: > > Not sure > > Steps to Reproduce: > 1. Install and deploy hosted-engine 3.5 on two hosts with rhel6 Hi Yedidyah Bar David, Could you offer hosted-engine 3.5 ova build version please? We reproduced this bug with 20160222.0-1.3.5.ova on RHEV-H release 7.2 for 3.6.8 (20160711.0.el7ev), but deployed failed, the host(7.2_3.6.8) can not be up in hosted-engine 3.5 due to network is inconsistent between 3.5 and 3.6. Thanks! (In reply to Huijuan Zhao from comment #5) > Hi Yedidyah Bar David, > > Could you offer hosted-engine 3.5 ova build version please? In initial 3.5 setup I didn't use an appliance or node (rhev-h image). Both engine and hosts were plain rhel6. > We reproduced this bug with 20160222.0-1.3.5.ova on RHEV-H release 7.2 for > 3.6.8 (20160711.0.el7ev), but deployed failed, the host(7.2_3.6.8) can not > be up in hosted-engine 3.5 due to network is inconsistent between 3.5 and > 3.6. Not sure I fully understand. What exact flow did you follow, and what error did you get? Generally speaking, the flow described in the bug did work for me, when applying the workaround in comment 2. (In reply to Yedidyah Bar David from comment #6) > In initial 3.5 setup I didn't use an appliance or node (rhev-h image). Both > engine and hosts were plain rhel6. > > Not sure I fully understand. What exact flow did you follow, and what error > did you get? > > Generally speaking, the flow described in the bug did work for me, when > applying the workaround in comment 2. Thanks for your explanation, I misunderstood that you deployed rhevm-appliance-3.5.ova on RHEVH 3.6 20160711.0.el7ev , so I followed these builds to reproduce, and this is not support. sorry for that. I will reproduce this bug according to comment 0 with rhevm-appliance-3.6.ova on RHEVH 3.6 20160711.0.el7ev later. Hi Huijuan, Could you please test the following scenario? To me, ovirt-post service is reconfiguring the dns and removing 'nameserver 192.168.123.1' from resolv.conf like Didi reported. This will happen also in upgrade scenario as requires reboot. - Install: rhev-hypervisor7-7.2-20160219.0.iso - setup DHCP network - Press F2, check /etc/resolv.conf # cat /etc/resolv.conf <save the result in a place for later comparation> - Reboot - In TUI it should show network as configured - Press F2 to go again to shell - Compare the resolv.conf you have now with previous # cat /etc/resolv.conf (In reply to Douglas Schilling Landgraf from comment #8) > Hi Huijuan, > > Could you please test the following scenario? To me, ovirt-post service is > reconfiguring the dns and removing 'nameserver 192.168.123.1' from > resolv.conf like Didi reported. This will happen also in upgrade scenario as > requires reboot. > > - Install: rhev-hypervisor7-7.2-20160219.0.iso > - setup DHCP network > - Press F2, check /etc/resolv.conf > # cat /etc/resolv.conf > <save the result in a place for later comparation> > - Reboot > - In TUI it should show network as configured > - Press F2 to go again to shell > - Compare the resolv.conf you have now with previous > # cat /etc/resolv.conf Hi Douglas, I tested according to your above steps, result is the same as you predicted, detailed info as below. Test steps: 1. Install: rhev-hypervisor7-7.2-20160219.0.iso 2. setup DHCP network 3. Press F2, check /etc/resolv.conf ------------------------------ # cat /etc/resolv.conf ; generated by /usr/sbin/dhclient-script search nay.redhat.com. redhat.com. nameserver 10.72.17.5 nameserver 10.68.5.26 ------------------------------ 4. Reboot host 5. In TUI it shows network as configured 6. Press F2 to go again to shell 7. Compare the resolv.conf I have now with previous ------------------------------ # cat /etc/resolv.conf ; Please make changes through the TUI or management server. Manual edits to this file will be lost on reboot search nay.redhat.com. redhat.com. nameserver 10.68.5.26 ------------------------------ Test results: Compared /etc/resolv.conf in Step3 and Step7, "nameserver 10.72.17.5" disappeared! Douglas, is it enough to reproduce this bug as comment 9 ? I do not have to reproduce comment 0, is it right? Thanks (In reply to Huijuan Zhao from comment #10) > Douglas, is it enough to reproduce this bug as comment 9 ? I do not have to > reproduce comment 0, is it right? > Thanks That's the way, I could reproduce to what I believe it's the report. For now, I am discussing with Fabian about this one. Even seeting PEERDNS="no" didn't help as init script call configure_dns() with no args and 'reset' /etc/resolv.conf. We could check if users set PEERDNS="no" in ifcfg and do not reset /etc/resolv.conf in the "force mode" as we do today. This is very specific RHEV-H 3.x behaviour. The RHVH 4.x doesn't have the same boot sequence and is not affected by this report. The workaround for 3.6 is changing the resolv.conf manually. |