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 2115887 - fix IPRouteUtils.get_route_tables_mapping() to accept any whitespace sequence
Summary: fix IPRouteUtils.get_route_tables_mapping() to accept any whitespace sequence
Keywords:
Status: CLOSED DUPLICATE of bug 2115886
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: CS System Management SST QE
URL:
Whiteboard: role:network
Depends On: 2115884
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-05 15:32 UTC by Rich Megginson
Modified: 2022-08-05 16:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2115884
Environment:
Last Closed: 2022-08-05 15:33:27 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 508 0 None Merged argument_validator: fix IPRouteUtils.get_route_tables_mapping() to accept any whitespace sequence 2022-08-05 15:32:08 UTC
Red Hat Issue Tracker RHELPLAN-130410 0 None None None 2022-08-05 16:00:24 UTC

Description Rich Megginson 2022-08-05 15:32:08 UTC
+++ This bug was initially created as a clone of Bug #2115884 +++

Description of problem:
The parser for the iproute2 routing table database (/etc/iproute2/rt_tables etc.) in module_utils/network_lsr/argument_validator.py:IPRouteUtils is too strict. It asserts that entries/lines in the file are of the form `254 main` where the numeric id and the name must be separated by a single space character only. However, according to the what iproute2 does, any whitespace sequence in between the table id and table name should be considered as valid and should be accepted by the route table parser.

Comment 4 Rich Megginson 2022-08-05 15:33:27 UTC

*** This bug has been marked as a duplicate of bug 2115886 ***


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