RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1806969 - nmstate should report nameservers only once
Summary: nmstate should report nameservers only once
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.2
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks: 1806967
TreeView+ depends on / blocked
 
Reported: 2020-02-25 11:34 UTC by Dominik Holler
Modified: 2020-12-28 11:55 UTC (History)
8 users (show)

Fixed In Version: nmstate-0.3.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:08:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
terminal log of reproducer (23.66 KB, text/plain)
2020-02-25 11:34 UTC, Dominik Holler
no flags Details
verified.log (13.20 KB, text/plain)
2020-06-18 09:59 UTC, Mingyu Shi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate issues 857 0 None closed nmstate should report nameservers only once 2020-12-28 10:18:24 UTC
Red Hat Product Errata RHBA-2020:4696 0 None None None 2020-11-04 03:08:48 UTC

Description Dominik Holler 2020-02-25 11:34:25 UTC
Created attachment 1665624 [details]
terminal log of reproducer

Description of problem:
If two interfaces are connected to the same subnet and the nameservers which are availbile via this subnet are reported twice.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Connect two NICs to the same subnet which is connected to the name server
2. nmstatectl show 
3.

Actual results:
dns-resolver: contains two entries for the same nameserver

Expected results:
dns-resolver: contains only a single entry for the same nameserver

Additional info:

Comment 1 Dominik Holler 2020-02-25 14:16:40 UTC
It would be nice to have this fixed in 8.2.z .

Comment 3 Fernando F. Mancera 2020-03-19 20:47:55 UTC
Upstream patch: https://github.com/nmstate/nmstate/commit/22ede6b05b09f2863202ad9c09a8fde3976c1e05

Comment 9 Mingyu Shi 2020-06-18 09:54:17 UTC
Reproduced on(nmstate was downgraded manually)
nmstate-0.2.6-1.el8.noarch
NetworkManager-1.22.8-4.el8.x86_64
DISTRO=RHEL-8.2.0-20200404.0
Linux hp-dl388g8-04.rhts.eng.pek2.redhat.com 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Verified:
nmstate-0.3.2-1.el8.noarch
NetworkManager-1.26.0-0.1.el8.x86_64
DISTRO=RHEL-8.3.0-20200616.0
Linux hp-dl388g8-08.rhts.eng.pek2.redhat.com 4.18.0-214.el8.x86_64 #1 SMP Fri Jun 12 08:55:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

See the attachment for details.

Comment 10 Mingyu Shi 2020-06-18 09:59:21 UTC
Created attachment 1697935 [details]
verified.log

Comment 13 errata-xmlrpc 2020-11-04 03:08:25 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 (nmstate bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2020:4696


Note You need to log in before you can comment on or make changes to this bug.