Bug 1990060

Summary: [Assisted-4.8] Host returns no routes when routing table contains multipart
Product: OpenShift Container Platform Reporter: Jordi Gil <jgil>
Component: assisted-installerAssignee: Rom Freiman <rfreiman>
assisted-installer sub component: discovery-agent QA Contact: Constantin Vultur <cvultur>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, cvultur
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: OCP-Metal-v1.0.25.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:44:52 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:

Description Jordi Gil 2021-08-04 16:27:38 UTC
Description of problem:

When the node routing information contains a multipath, the agent is unable to parse the link name and returns as error. This is caused by the agent not understanding the multipath data structure.

Example:

$>ip route show
default via 10.19.32.254 dev ens1f0 proto dhcp metric 100 
10.19.32.192/26 dev ens1f0 proto kernel scope link src 10.19.32.201 metric 100 
10.88.0.0/16 dev cni-podman0 proto kernel scope link src 10.88.0.1 linkdown 

and 

$>ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2620:52:0:1343::/64 dev ens1f0 proto ra metric 100 pref medium
fe80::/64 dev ens1f0 proto kernel metric 100 pref medium
fe80::/64 dev ens1f1 proto kernel metric 104 pref medium
fe80::/64 dev ens4f0 proto kernel metric 105 pref medium
fe80::/64 dev ens4f1 proto kernel metric 106 pref medium
fe80::/64 dev cni-podman0 proto kernel metric 256 linkdown pref medium
default proto ra metric 100 pref high
	nexthop via fe80::5054:ff:fefb:7f6d dev ens1f0 weight 1 
	nexthop via fe80::9e8a:cb00:6804:9200 dev ens1f0 weight 1 
	nexthop via fe80::200:5eff:fe00:201 dev ens1f0 weight 1 
	nexthop via fe80::9e8a:cb00:6804:ab00 dev ens1f0 weight 1 




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


How reproducible:
* Reproducible in a cluster with nodes that contain multipath IPv6 routes as shown above.

Steps to Reproduce:
1. Create a node where the routing table has defined a multipath information for route balancing.
2. Agent will report back with an empty list of routing elements.


Actual results:
route structure contains no elements

Expected results:
route structure should contains all the routing elements.

Additional info:

Comment 3 Constantin Vultur 2021-08-31 09:23:46 UTC
This is fixed in "release_tag":"v1.0.25.2"

Comment 7 errata-xmlrpc 2021-10-18 17:44:52 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759