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 2166630 - Allow to change the priority of the local routing table
Summary: Allow to change the priority of the local routing table
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Fernando F. Mancera
QA Contact: Mingyu Shi
URL:
Whiteboard:
: 2171374 (view as bug list)
Depends On:
Blocks: 2167805
TreeView+ depends on / blocked
 
Reported: 2023-02-02 13:18 UTC by Federico Paolinelli
Modified: 2023-06-26 09:07 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2167805 (view as bug list)
Environment:
Last Closed: 2023-06-26 09:07:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-244 0 None None None 2023-02-02 13:18:59 UTC
Red Hat Issue Tracker RHELPLAN-147448 0 None None None 2023-02-02 13:19:03 UTC
Red Hat Issue Tracker RHELPLAN-147781 0 None None None 2023-02-14 08:45:22 UTC

Description Federico Paolinelli 2023-02-02 13:18:21 UTC
Description of problem:

When using a vrf, a rule like 

1000:   from all lookup [l3mdev-table]

is created, so it's common practice to change the priority of the rule associated with the "local" table to a higher value.
The issue is that it's not currently possible with nmstate.

A desired state of 

route-rules:
  config:
    - route-table: 255
      priority: 0
      family: ipv4
      state: absent
    - route-table: 255
      priority: 32765
      family: ipv4

Will result in an error.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Apply the configuration above
2.
3.

Actual results:

The configuration is refused

Expected results:

The priority of the rule related to the "local" route table changes.

Additional info:

Comment 1 Gris Ge 2023-02-07 15:16:28 UTC
The use case is describe at https://www.dasblinkenlichten.com/working-with-linux-vrfs/

Comment 3 Gris Ge 2023-02-21 11:15:48 UTC
*** Bug 2171374 has been marked as a duplicate of this bug. ***

Comment 9 Gris Ge 2023-06-26 08:56:29 UTC
According to Federico Paolinelli, this RFE is medium priority now.

Comment 10 Gris Ge 2023-06-26 09:07:43 UTC
Since OpenShift 5G Telco team found new approach on solving their use case, this feature is not required any more.

Modifying the local route table is dangerous(break all network communication), this is no valid use case anymore even for upstream users.

Closing as won't fix. Feel free to reopen if you need this feature again.


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