Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2081286

Summary: The "dns-resolver" field has change the name to "dns"
Product: Red Hat Enterprise Linux 9 Reporter: Quique Llorente <ellorent>
Component: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: ferferna, jiji, jishi, network-qe, sfaye, till
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 10:00:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Quique Llorente 2022-05-03 09:58:13 UTC
Description of problem:
The dns configuration as previously named "dns-resolver" the rust implementation introduces and backward incompatible change renaming this as "dns"

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


How reproducible: Always


Steps to Reproduce:
1. nmstatectl show
2.
3.

Actual results:
show the dns config as "dns" not as "dns-resolver"

Expected results:
The "dns-resolver" field has to be present.


Additional info:

Comment 1 Gris Ge 2022-05-05 08:25:50 UTC
Patch sent to upstream: https://github.com/nmstate/nmstate/pull/1893

Comment 2 Mingyu Shi 2022-05-05 14:49:51 UTC
The older version:
[22:46:31@dell-per730-17 ~/repo-nmstate/libnmstate/func/yml]0# rpm -q nmstate
nmstate-2.1.0-1.el9.x86_64
[22:46:53@dell-per730-17 ~/repo-nmstate/libnmstate/func/yml]0# nmstatectl show | head -10
---
dns:
  running:
    server:
      - 10.73.2.107
      - 10.73.2.108
      - 10.66.127.10
    search:
      - rhts.eng.pek2.redhat.com
  config: {}

The new patch:
[22:47:58@dell-per730-17 ~/repo-nmstate/libnmstate/func/yml]0# rpm -q nmstate
nmstate-2.1.1-0.20220505082645804972.pr1893.11.g48c828e.el9.x86_64
[22:49:04@dell-per730-17 ~/repo-nmstate/libnmstate/func/yml]0# nmstatectl show | head -10
---
dns-resolver:
  running:
    server:
      - 10.73.2.107
      - 10.73.2.108
      - 10.66.127.10
    search:
      - rhts.eng.pek2.redhat.com
  config: {}

Comment 3 Quique Llorente 2022-05-19 09:33:20 UTC
I still see "dns" at nmstatectl show from nmstate-git copr.

Comment 4 Quique Llorente 2022-05-19 09:40:39 UTC
Failed with version:

[root@node02 /]# rpm -qa |grep nmstate
nmstate-libs-2.1.1-0.alpha.20220505.847ffdb.el9.x86_64
nmstate-2.1.1-0.alpha.20220505.847ffdb.el9.x86_64

Comment 7 Mingyu Shi 2022-06-15 01:44:17 UTC
Verified:
nmstate-2.1.1-0.alpha.20220602.5accbd1.el9.x86_64

Comment 9 errata-xmlrpc 2022-11-15 10:00:44 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-2022:7991