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 2133858 - [RFE] Support the DNS priority
Summary: [RFE] Support the DNS priority
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Jon Trossbach
Marc Muehlfeld
URL:
Whiteboard: role:network
Depends On: 2133856
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-11 15:45 UTC by Wen Liang
Modified: 2023-05-14 13:27 UTC (History)
5 users (show)

Fixed In Version: rhel-system-roles-1.21.0-0.2.network.el9
Doc Type: Enhancement
Doc Text:
.The `network` System Role supports setting a DNS priority value This enhancement adds the `dns_priority` parameter to the RHEL `network` System Role. You can set this parameter to a value from `-2147483648` to `2147483647`. The default value is `0`. Lower values have a higher priority. Note that negative values cause the System Role to exclude other configurations with a greater numeric priority value. Consequently, in presence of at least one negative priority value, the System Role uses only DNS servers from connection profiles with the lowest priority value. As a result, you can use the `network` System Role to define the order of DNS servers in different connection profiles.
Clone Of: 2133856
Environment:
Last Closed: 2023-05-09 07:37:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network pull 531 0 None Merged Support the DNS priority 2022-11-10 13:36:59 UTC
Red Hat Issue Tracker RHELPLAN-136146 0 None None None 2022-10-11 15:52:05 UTC
Red Hat Product Errata RHEA-2023:2246 0 None None None 2023-05-09 07:38:17 UTC

Comment 3 Jon Trossbach 2022-12-19 14:54:48 UTC
@djez 
@rmeggins

Same problem as https://bugzilla.redhat.com/show_bug.cgi?id=2129620

Comment 4 Jon Trossbach 2023-01-13 13:15:54 UTC
For this I will be testing ests/tests_eth_dns_support_nm.yml and tests/tests_ipv6_dns_search_nm.yml unless I hear otherwise

Comment 5 Jon Trossbach 2023-01-13 21:12:36 UTC
Ansible 2.14 RHEL 6.10 fails as expected. Everything else passes.

[root@netqe4 Upstream-testsuite]# rpm -q rhel-system-roles
rhel-system-roles-1.21.0-0.13.el9.noarch
[root@netqe4 Upstream-testsuite]# uname -r
5.14.0-230.el9.x86_64

tests_eth_dns_support_nm.yml
tests_ipv6_dns_search_nm.yml

:: [ 14:53:36 ] :: [   FAIL   ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1)
:: [ 14:53:35 ] :: [   FAIL   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 2)
:: [ 15:47:48 ] :: [   FAIL   ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1)
:: [ 15:47:47 ] :: [   FAIL   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 2)
:: [ 14:54:50 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 14:54:49 ] :: [   PASS   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0)
:: [ 15:49:04 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 15:49:03 ] :: [   PASS   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0)
:: [ 14:56:31 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0)
:: [ 14:56:30 ] :: [   PASS   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0)
:: [ 15:50:48 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0)
:: [ 15:50:47 ] :: [   PASS   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0)
:: [ 14:58:02 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0)
:: [ 14:58:01 ] :: [   PASS   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0)
:: [ 15:52:11 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0)
:: [ 15:52:10 ] :: [   PASS   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0)
:: [ 14:59:25 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0)
:: [ 14:59:23 ] :: [   PASS   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0)
:: [ 15:53:27 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0)
:: [ 15:53:26 ] :: [   PASS   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0)
:: [ 15:00:43 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0)
:: [ 15:00:42 ] :: [   PASS   ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0)
:: [ 15:54:44 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0)
:: [ 15:54:43 ] :: [   PASS   ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0)

Comment 10 errata-xmlrpc 2023-05-09 07:37:56 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 (rhel-system-roles 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/RHEA-2023:2246


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