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 2154737 - failed to apply uncompressed ipv6 in dns
Summary: failed to apply uncompressed ipv6 in dns
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-19 03:04 UTC by Mingyu Shi
Modified: 2023-05-09 08:22 UTC (History)
6 users (show)

Fixed In Version: nmstate-2.2.4-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:31:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 2190 0 None Merged dns: Support uncompressed IPv6 server 2023-01-18 13:06:19 UTC
Red Hat Issue Tracker NMT-202 0 None None None 2023-01-28 05:17:11 UTC
Red Hat Issue Tracker RHELPLAN-142847 0 None None None 2022-12-19 03:31:46 UTC
Red Hat Product Errata RHBA-2023:2190 0 None None None 2023-05-09 07:32:04 UTC

Description Mingyu Shi 2022-12-19 03:04:47 UTC
Description of problem:
If ipv6 in `dns-resolver` is not compressed, nmstate(rust) regards them as different with compressed format at verification.

Version-Release number of selected component (if applicable):
nmstate-2.2.2-2.el9.x86_64
NetworkManager-1.41.6-1.el9.x86_64
Linux kvm-04-guest30.hv2.lab.eng.bos.redhat.com 5.14.0-212.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Dec 13 17:09:01 EST 2022 x86_64 x86_64 x86_64 GNU/Linux
DISTRO=RHEL-9.2.0-20221215.0

How reproducible:
100%

Steps to Reproduce:
echo "
dns-resolver:
  config:
    server:
    - 3000:0000:0000:0000:0000:0000:0000:0000
    - 0000:0000:0000:0000:0000:0000:0000:0100
    - 0000:0000:000F:0000:0000:0000:0000:0100
    - 3001:db8::1:1:1:1:1
    - 3001:db8:0:0:0:0:2:1
    - 3001:db8::0:1
    - '3002:0:0:1:0:0:0:1'
    - 3003:dB8:0:0:1:0:0:1
    - 3004:db8::1:0:0:1
    - 3005:DB8:0:0:1::1
    - 0:0:0:0:0:FFFF:192.0.2.1
    - ::FFFF:192.0.2.2
    - 03:0000:000:00:0::4
routes:
  config:
  - destination: ::/0
    metric: 20550
    next-hop-address: 8::9
    next-hop-interface: veth0
    table-id: 250
interfaces:
- name: veth0
  type: veth
  state: up
  ipv6:
    enabled: true
    address:
    - ip: 8::8
      prefix-length: 64
  veth:
    peer: veth0_p
" | nmstatectl apply


Actual results:
NmstateError: VerificationError: Failed to apply DNS config: desire name servers ["3000:0000:0000:0000:0000:0000:0000:0000", "0000:0000:0000:0000:0000:0000:0000:0100", "0000:0000:000F:0000:0000:0000:0000:0100", "3001:db8::1:1:1:1:1", "3001:db8:0:0:0:0:2:1", "3001:db8::0:1", "3002:0:0:1:0:0:0:1", "3003:dB8:0:0:1:0:0:1", "3004:db8::1:0:0:1", "3005:DB8:0:0:1::1", "0:0:0:0:0:FFFF:192.0.2.1", "::FFFF:192.0.2.2", "03:0000:000:00:0::4"], got Some(["3000::", "::100", "0:0:f::100", "3001:db8:0:1:1:1:1:1", "3001:db8::2:1", "3001:db8::1", "3002:0:0:1::1", "3003:db8::1:0:0:1", "3004:db8::1:0:0:1", "3005:db8::1:0:0:1", "::ffff:192.0.2.1", "::ffff:192.0.2.2", "3::4"])

Expected results:
No failure, and compressed the IPv6 addressed automatically

Additional info:

Comment 1 Gris Ge 2023-01-12 04:39:30 UTC
Patch posted to upstream: https://github.com/nmstate/nmstate/pull/2190

Comment 6 errata-xmlrpc 2023-05-09 07:31:53 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-2023:2190


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