Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1586104

Summary: [UI] DNS does not reflect the actual config files settings
Product: [oVirt] ovirt-engine Reporter: Roni <reliezer>
Component: BLL.NetworkAssignee: Dan Kenigsberg <danken>
Status: CLOSED WONTFIX QA Contact: Meni Yakove <myakove>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.4.1CC: bugs, reliezer, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-24 07:28:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dns ui capture
none
`vdsmcli Host getCapabilitites` output none

Description Roni 2018-06-05 13:53:00 UTC
Created attachment 1447864 [details]
dns ui capture

Description of problem:
 DNS does not reflect the actual conf files settings

 although "/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt"
 include DNS1..N keys, the DNS Web UI for that bridge is empty.


Version-Release number of selected component (if applicable):
 4.2.4.1-0.1.el7

How reproducible:
 100%

Steps to Reproduce:
 1. Go to Network | Networks 
 2. Edit 'ovirtmgmt'
 3. Enable 'DNS Configuration' and add two IPs e.g.: 10.35.28.1 & 8.8.8.8
    and click Ok.
 4. Disable 'DNS Configuration'

Actual results:
 At the host:
 "/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt"
 include DNS1..N keys, see attached screen capture...

 At the UI
 The DNS is disable but there are no IPs
 see attached screen capture...

Expected results:


Additional info:
See also: 1516861[DNS] dns servers can only be replaced, not removed
https://bugzilla.redhat.com/show_bug.cgi?id=1516861

Comment 1 Dan Kenigsberg 2018-06-06 16:22:56 UTC
What is the state of /etc/resolve.conf ?
Is Engine updated if you click Refresh Caps after some time?

Comment 2 Roni 2018-06-07 07:17:34 UTC
/etc/resolve.conf status is the same as:
"/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt", 
meaning it include the two DNSs I added 10.35.28.1 & 8.8.8.8

Note that not refresh and not vdsmd restart fix this issue

Comment 3 Dan Kenigsberg 2018-06-11 10:15:48 UTC
What is reported from `vdsmcli Host getCapabilitites`? What is reported from Engine's REST API? (I'm trying to check if this is indeed only a UI problem)

Comment 4 Roni 2018-06-17 08:48:05 UTC
Created attachment 1452341 [details]
`vdsmcli Host getCapabilitites` output

Comment 5 Roni 2018-06-17 10:12:43 UTC
I didn't see the DNSs at the REST API, do you know about a special URI?

Comment 6 Yaniv Lavi 2018-06-24 07:28:37 UTC
Removing DNS will only apply to new hosts by design.