Bug 2133856
| Summary: | [RFE] Support the DNS priority | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Wen Liang <wenliang> | |
| Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | |
| Status: | CLOSED ERRATA | QA Contact: | Jon Trossbach <jtrossba> | |
| Severity: | unspecified | Docs Contact: | Marc Muehlfeld <mmuehlfe> | |
| Priority: | unspecified | |||
| Version: | 8.8 | CC: | djez, jtrossba, nm-team, rmeggins, spetrosi, till | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | role:network | |||
| Fixed In Version: | rhel-system-roles-1.21.0-0.2.network.el8 | 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.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2133858 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 08:31:36 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2133858 | |||
|
Description
Wen Liang
2022-10-11 15:43:27 UTC
which yaml file or files does this need to be tested with? (In reply to Jon Trossbach from comment #4) > which yaml file or files does this need to be tested with? Looking at the PR for this BZ - https://github.com/linux-system-roles/network/pull/531/files looks like tests/tests_eth_dns_support_nm.yml and tests/tests_ipv6_dns_search_nm.yml @nm-team please confirm (In reply to Rich Megginson from comment #5) > (In reply to Jon Trossbach from comment #4) > > which yaml file or files does this need to be tested with? > > Looking at the PR for this BZ - > https://github.com/linux-system-roles/network/pull/531/files > > looks like tests/tests_eth_dns_support_nm.yml and > tests/tests_ipv6_dns_search_nm.yml > > @nm-team please confirm I confirm, the tests are `tests/tests_eth_dns_support_nm.yml` and `tests/tests_ipv6_dns_search_nm.yml`. @djez @rmeggins Same problem as https://bugzilla.redhat.com/show_bug.cgi?id=2129620 Only failing with Ansible 2.14 and RHEL 6.10 as expected. Everything else looks good [root@netqe3 Upstream-testsuite]# uname -r 4.18.0-447.el8.x86_64 [root@netqe3 Upstream-testsuite]# rpm -q rhel-system-roles rhel-system-roles-1.21.0-0.14.el8.noarch tests_eth_dns_support_nm.yml :: [ 14:56:40 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0) :: [ 14:56:39 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:48:34 ] :: [ FAIL ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1) :: [ 14:48:33 ] :: [ FAIL ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 2) :: [ 15:00:47 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0) :: [ 15:00:46 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:49:58 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0) :: [ 14:49:57 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 15:02:36 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_8_7_0_GA (Expected 0, got 0) :: [ 15:02:35 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:51:40 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0) :: [ 14:51:39 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 15:04:15 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_8_8_TESTING (Expected 0, got 0) :: [ 15:04:14 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:53:08 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0) :: [ 14:53:06 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 15:05:40 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_9_1_0_GA (Expected 0, got 0) :: [ 15:05:39 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:54:25 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0) :: [ 14:54:24 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 15:07:07 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_9_2_TESTING (Expected 0, got 0) :: [ 15:07:06 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) :: [ 14:55:41 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0) :: [ 14:55:40 ] :: [ PASS ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 0) tests_eth_dns_support_nm.yml :: [ 14:49:35 ] :: [ FAIL ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1) :: [ 14:49:34 ] :: [ FAIL ] :: Test tests_eth_dns_support_nm.yml (Assert: expected 0, got 2) :: [ 14:57:00 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0) :: [ 14:56:59 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:51:01 ] :: [ FAIL ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1) :: [ 14:51:00 ] :: [ FAIL ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 2) :: [ 14:58:01 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0) :: [ 14:58:00 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:51:59 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0) :: [ 14:51:58 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:59:10 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_8_7_0_GA (Expected 0, got 0) :: [ 14:59:09 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:53:10 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0) :: [ 14:53:09 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 15:00:17 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_8_8_TESTING (Expected 0, got 0) :: [ 15:00:16 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:54:16 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0) :: [ 14:54:15 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 15:01:19 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_9_1_0_GA (Expected 0, got 0) :: [ 15:01:18 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:55:16 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0) :: [ 14:55:15 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 15:02:24 ] :: [ PASS ] :: Test network with ANSIBLE-2.9 against RHEL_9_2_TESTING (Expected 0, got 0) :: [ 15:02:23 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) :: [ 14:56:18 ] :: [ PASS ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0) :: [ 14:56:17 ] :: [ PASS ] :: Test tests_ipv6_dns_search_nm.yml (Assert: expected 0, got 0) 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:2804 |