20.09: PAPI throwing “TypeError: object of type 'IPv4Address' has no len()” with ip_route_add_del
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vpp |
Fix Released
|
High
|
Onong Tayeng |
Bug Description
Running tempest_smoke on the latest master causes PAPI to produce the following error:
2020-10-06 11:17:14.641 41022 ERROR networking_
Passing the next_hop_address in binary format to ip_route_add_del api makes the error disappear but then it begs the question as to what is the correct format that PAPI expects. Needs further investigation and hence creating the bug report to keep track.
Here's the complete backtrace:
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:14.641 41022 ERROR networking_
2020-10-06 11:17:16.648 41022 CRITICAL networking_
Changed in networking-vpp: | |
assignee: | nobody → Onong Tayeng (onong) |
importance: | Undecided → High |
Changed in networking-vpp: | |
status: | New → In Progress |
description: | updated |
Changed in networking-vpp: | |
milestone: | none → 20.09 |
Reviewed: https:/ /review. opendev. org/758213 /git.openstack. org/cgit/ x/networking- vpp/commit/ ?id=41c0220696b 9fea7b3a8e54797 e038c8a4e7a240
Committed: https:/
Submitter: Zuul
Branch: master
commit 41c0220696b9fea 7b3a8e54797e038 c8a4e7a240
Author: Onong Tayeng <email address hidden>
Date: Wed Oct 14 22:02:44 2020 +0530
Fix bug in IPv6 default route setting
A buggy if check causes the code to attempt setting the IPv6 default
route through an IPv4 gateway causing PAPI to produce the following
error:
TypeError: object of type 'IPv4Address' has no len()
Change-Id: Ia455cb983f26f1 71994e45d30ac05 75300fdbdb3
Closes-Bug: #1899772