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 2134201 - [RFE] Support setting the metric of the default route for initscripts provider
Summary: [RFE] Support setting the metric of the default route for initscripts provider
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.8
Assignee: Wen Liang
QA Contact: Jon Trossbach
Jaroslav Klech
URL:
Whiteboard: role:network
Depends On:
Blocks: 2134202
TreeView+ depends on / blocked
 
Reported: 2022-10-12 18:33 UTC by Wen Liang
Modified: 2023-05-16 09:37 UTC (History)
5 users (show)

Fixed In Version: rhel-system-roles-1.21.0-0.2.network.el8
Doc Type: Enhancement
Doc Text:
.The `initscripts` network provider supports route metric configuration of the default gateway With this update, you can use the `initscripts` network provider in the `rhel-system-roles.network` RHEL System Role to configure the route metric of the default gateway. The reasons for such a configuration could be: * Distributing the traffic load across the different paths * Specifying primary routes and backup routes * Leveraging routing policies to send traffic to specific destinations through specific paths
Clone Of:
: 2134202 (view as bug list)
Environment:
Last Closed: 2023-05-16 08:31:36 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 532 0 None Merged [Draft ] Support 'route_metric4' for initscripts provider 2022-12-09 17:23:35 UTC
Red Hat Issue Tracker RHELPLAN-136277 0 None None None 2022-10-12 18:39:30 UTC
Red Hat Product Errata RHEA-2023:2804 0 None None None 2023-05-16 08:31:48 UTC

Description Wen Liang 2022-10-12 18:33:19 UTC
Description of problem:


The user want to change the metric for the default route (for initscripts), add support
for that.

Comment 4 Jon Trossbach 2022-12-08 23:31:12 UTC
Do you remember which init_scripts were changed for this bug?

Possibilities are:


    tests_auto_gateway_initscripts.yml
    tests_bond_initscripts.yml
    tests_bond_removal_initscripts.yml
    tests_ethernet_initscripts.yml
    tests_ethtool_coalesce_initscripts.yml
    tests_ethtool_features_initscripts.yml
    tests_ethtool_ring_initscripts.yml
    tests_ipv6_initscripts.yml
    tests_states_initscripts.yml
    tests_vlan_mtu_initscripts.yml

Comment 5 Wen Liang 2022-12-13 19:40:24 UTC
I confirm, the test is `tests_auto_gateway_initscripts.yml`. Originally,`tests_auto_gateway_initscripts.yml` causes the baseos ci hang, then set a higher route metric for the default route will make sure other default routes not being hijacked and preserve the ssh connectivity as a result.

Comment 6 Jon Trossbach 2022-12-19 05:57:12 UTC
@djez 
@rmeggins

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

Comment 7 Jon Trossbach 2023-01-13 18:16:35 UTC
All are passing for tests_auto_gateway_initscripts.yml both tests except RHEL 6.10 with Ansible 2.14, which is expected.

[root@netqe41 Upstream-testsuite]# uname -r
4.18.0-447.el8.x86_64
[root@netqe41 Upstream-testsuite]# rpm -q rhel-system-roles
rhel-system-roles-1.21.0-0.13.el8.noarch
[root@netqe41 Upstream-testsuite]# 

:: [ 12:44:07 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0)
:: [ 12:44:06 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:55:28 ] :: [   FAIL   ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1)
:: [ 12:55:27 ] :: [   FAIL   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 2)
:: [ 12:45:30 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 12:45:29 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:56:46 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 12:56:45 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:47:14 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_8_7_0_GA (Expected 0, got 0)
:: [ 12:47:13 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:58:39 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0)
:: [ 12:58:38 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:48:54 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_8_8_TESTING (Expected 0, got 0)
:: [ 12:48:53 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 13:00:26 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0)
:: [ 13:00:25 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:49:38 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_9_1_0_GA (Expected 0, got 0)
:: [ 12:49:37 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 13:01:01 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0)
:: [ 13:00:59 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:50:23 ] :: [   PASS   ] :: Test network with ANSIBLE-2.9 against RHEL_9_2_TESTING (Expected 0, got 0)
:: [ 12:50:22 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 13:01:38 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0)
:: [ 13:01:37 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)

Comment 15 errata-xmlrpc 2023-05-16 08:31:36 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:2804


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