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 2134202 - [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 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
Mayur Patil
URL:
Whiteboard: role:network
Depends On: 2134201
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-12 18:36 UTC by Wen Liang
Modified: 2023-05-14 13:29 UTC (History)
8 users (show)

Fixed In Version: rhel-system-roles-1.21.0-0.2.network.el9
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: 2134201
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 532 0 None open [Draft ] Support 'route_metric4' for initscripts provider 2022-10-12 18:39:02 UTC
Red Hat Issue Tracker RHELPLAN-136275 0 None None None 2022-10-12 18:39:14 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-08 23:29:05 UTC
Do you remember which init_scripts were changed for this bug? https://bugzilla.redhat.com/show_bug.cgi?id=2134201

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 4 Jon Trossbach 2022-12-08 23:30:17 UTC
Sorry please ignore that link. Though I do have the same question for that bug as well.

Comment 5 Rich Megginson 2022-12-09 00:24:11 UTC
From the PR for this BZ - https://github.com/linux-system-roles/network/pull/532/files

looks like the test is tests_auto_gateway_initscripts.yml

@nm-team please confirm

Comment 6 Wen Liang 2022-12-13 19:35:14 UTC
Hi (In reply to Rich Megginson from comment #5)
> From the PR for this BZ -
> https://github.com/linux-system-roles/network/pull/532/files
> 
> looks like the test is tests_auto_gateway_initscripts.yml
> 
> @nm-team please confirm

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 7 Jon Trossbach 2022-12-19 14:48:38 UTC
@djez 
@rmeggins

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

Comment 8 Jon Trossbach 2023-01-13 18:04:42 UTC
Passes on everything except RHEL 6.10, which is expected

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

:: [ 12:52:39 ] :: [   FAIL   ] :: Test network with ANSIBLE-2 against RHEL_6_10_GA (Expected 0, got 1)
:: [ 12:52:38 ] :: [   FAIL   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 2)
:: [ 12:54:17 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 12:54:16 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:56:37 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_7_0_GA (Expected 0, got 0)
:: [ 12:56:36 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:58:48 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_8_8_TESTING (Expected 0, got 0)
:: [ 12:58:47 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 12:59:30 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_1_0_GA (Expected 0, got 0)
:: [ 12:59:28 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)
:: [ 13:00:12 ] :: [   PASS   ] :: Test network with ANSIBLE-2 against RHEL_9_2_TESTING (Expected 0, got 0)
:: [ 13:00:11 ] :: [   PASS   ] :: Test tests_auto_gateway_initscripts.yml (Assert: expected 0, got 0)

Comment 12 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.