-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vnetd daemon is crashing due to panic: next-hop address is not found in multipath #109
Comments
I got vnetd not responding, however no kernel panic. After the playbook stopped running at - PLAY RECAP ********************************************************************* on invader42 -
|
The format seems messed up for the previous comment, please check the attachment for the same content. |
Execute below steps & observe the goes service:
Observation: whenever we add static route (via "route add" linux command), it got crashed. This playbook contains the step of adding static route. |
@arthurxiong3 Here are the logs of all invaders along with playbook run output. inv42_log.txt |
FYI Above logs have not captured addition of static routes using route add command. Hence I am posting all routes we are adding for this test case here: On Invader42:
On Invader43:
On Invader44:
On Invader45:
|
Multiple outputs of issue 109 test script. |
Issue verification Status: Verified Issue verify in below build (in all setup2 invaders)
Steps:
|
Issue Description: vnetd daemon is crashing due to panic: next-hop address is not found in multipath
Environment: Testbed setup2 (invader42, Invader43, Invader44, Invader45)
root@invader44:/# goes hget platina packages | grep version:
version: 43cfbc9
version: 6133a579e7805972e9138334a4557e6d4d3fac39
version: 60f39141fbbf78ddb2260dba74c68f2789374f18
root@invader44:/#
Steps:
root@invader44:/# goes status
GOES status
Mode - TUNTAP
PCI - OK
Check daemons - OK
Check Redis - OK
Check vnet - Not OK
status: vnetd daemon not responding
root@invader44:/#
Feb 15 23:45:34 invader44 ntpd[430]: peers refreshed
Feb 15 23:59:26 invader44 goes.vnetd[7156]: panic: vnet: requested next-hop 10.0.19.31 not found in multipath
Feb 15 23:59:26 invader44 goes.vnetd[7156]: goroutine 51 [running]:
Feb 15 23:59:26 invader44 goes.vnetd[7156]: runtime/debug.Stack(0xbc25c0, 0xc420ffcf60, 0xc4214276a8)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /usr/local/go/src/runtime/debug/stack.go:24 +0xa7
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/elib/loop.(*Loop).eventHandler.func1(0xc42020d818, 0xc42020dd70)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/elib/loop/event.go:181 +0x159
Feb 15 23:59:26 invader44 goes.vnetd[7156]: panic(0xbc25c0, 0xc420ffcf40)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /usr/local/go/src/runtime/panic.go:491 +0x283
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*Fib).replaceNextHop(0xc4201faa00, 0xc42027a000, 0xc421e40910, 0xc4201faa00, 0xfd00000143, 0xc41f13000a, 0x18dd1a0, 0xc421482060, 0x0, 0x0)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/fib.go:749 +0x46a
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*mapFibResult).replaceWithLessSpecific(0xc4214279f8, 0xc42027a000, 0xc4201faa00, 0xc4214279e8)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/fib.go:387 +0x13a
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*Fib).addDelReachable(0xc4201faa00, 0xc42027a000, 0xc421e40900, 0x100000143)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/fib.go:452 +0x10d
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*Fib).addDel(0xc4201faa00, 0xc42027a000, 0xc421e40900, 0x100000143, 0xb675318d4730a96a)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/fib.go:276 +0x3ee
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*Main).addDelRoute(0xc42027a000, 0xc4205df1a0, 0x14300000000, 0x633301, 0xc42027a0b0, 0x4f, 0xc400000000)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/fib.go:635 +0xf4
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ip4.(*Main).(github.com/platinasystems/go/vnet/ip4.addDelRoute)-fm(0xc4205df1a0, 0x14300000000, 0xc400000001, 0xc422256f08, 0x1, 0x3d)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ip4/package.go:28 +0x4d
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/ethernet.(*ipNeighborMain).AddDelIpNeighbor(0xc42005a868, 0xc42027a068, 0xc4205df180, 0x4f1f130001, 0x1, 0xc421427d08, 0x6b1484)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/ethernet/neighbor.go:91 +0x28b
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/unix.(*netlinkEvent).ip4NeighborMsg(0xc42078f680, 0xc4202b22a0, 0xc4202b22a0, 0x40000000001)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/unix/netlink.go:625 +0x26a
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/vnet/unix.(*netlinkEvent).EventAction(0xc42078f680)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/vnet/unix/netlink.go:506 +0x624
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/elib/loop.(*nodeEvent).do(0xc4202da340)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/elib/loop/event.go:152 +0x8f
Feb 15 23:59:26 invader44 goes.vnetd[7156]: github.com/platinasystems/go/elib/loop.(*Loop).eventHandler(0xc42020d818, 0x18d5b60, 0xc42020dd68)
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/elib/loop/event.go:195 +0xa3
Feb 15 23:59:26 invader44 goes.vnetd[7156]: created by github.com/platinasystems/go/elib/loop.(*Node).maybeStartEventHandler
Feb 15 23:59:26 invader44 goes.vnetd[7156]: /home/fyang/gopath/src/github.com/platinasystems/go/elib/loop/event.go:280 +0x2a6
Feb 15 23:59:27 invader44 lldpd[381]: error while receiving frame on eth-27-1: Network is down
Feb 15 23:59:27 invader44 lldpd[381]: error while receiving frame on eth-29-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-7-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-9-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-21-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-11-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-15-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-31-1: Network is down
Feb 15 23:59:28 invader44 lldpd[381]: error while receiving frame on eth-1-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: error while receiving frame on eth-5-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: error while receiving frame on eth-19-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: error while receiving frame on eth-3-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: error while receiving frame on eth-17-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: error while receiving frame on eth-23-1: Network is down
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-9-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-1-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-5-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-3-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-11-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-7-1: No such device or address
Feb 15 23:59:29 invader44 lldpd[381]: unable to send packet on real device for eth-15-1: No such device or address
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #100 eth-19-1, fe80::5218:4cff:fe00:66c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #99 eth-1-1, fe80::5218:4cff:fe00:624#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #98 eth-11-1, fe80::5218:4cff:fe00:64c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #97 eth-29-1, fe80::5218:4cff:fe00:694#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #96 eth-3-1, fe80::5218:4cff:fe00:62c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #95 eth-21-1, fe80::5218:4cff:fe00:674#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #94 eth-31-1, fe80::5218:4cff:fe00:69c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #93 eth-23-1, fe80::5218:4cff:fe00:67c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #92 eth-5-1, fe80::5218:4cff:fe00:634#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #91 eth-15-1, fe80::5218:4cff:fe00:65c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #90 eth-7-1, fe80::5218:4cff:fe00:63c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #89 eth-17-1, fe80::5218:4cff:fe00:664#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #88 eth-27-1, fe80::5218:4cff:fe00:68c#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #87 eth-9-1, fe80::5218:4cff:fe00:644#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #86 eth-23-1, 10.0.23.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #85 eth-17-1, 10.0.17.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #84 eth-30-1, 10.0.30.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #83 eth-3-1, 10.0.3.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #82 eth-4-1, 10.0.4.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #81 eth-19-1, 10.0.19.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #80 eth-18-1, 10.0.18.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #79 eth-10-1, 10.0.10.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #78 eth-5-1, 10.0.5.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #77 eth-1-1, 10.0.1.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #76 eth-32-1, 10.0.32.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #75 eth-24-1, 10.0.24.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #74 eth-31-1, 10.0.31.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #73 eth-28-1, 10.0.28.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #72 eth-15-1, 10.0.15.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #71 eth-14-1, 10.0.14.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #70 eth-11-1, 10.0.11.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #69 eth-25-1, 10.0.25.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #68 eth-21-1, 10.0.21.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #67 eth-22-1, 10.0.22.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #66 eth-20-1, 10.0.20.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #65 eth-13-1, 10.0.13.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #64 eth-8-1, 10.0.8.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #63 eth-2-1, 10.0.2.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #62 eth-26-1, 10.0.26.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #61 eth-16-1, 10.0.16.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #60 eth-12-1, 10.0.12.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #59 eth-9-1, 10.0.9.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #58 eth-7-1, 10.0.7.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #57 eth-6-1, 10.0.6.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #56 eth-29-1, 10.0.29.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: Deleting interface #55 eth-27-1, 10.0.27.30#123, interface stats: received=0, sent=0, dropped=0, active_time=900 secs
Feb 16 00:00:34 invader44 ntpd[430]: peers refreshed
Feb 16 00:04:48 invader44 systemd[1]: Starting user-1017.slice.
Feb 16 00:04:48 invader44 systemd[1]: Created slice user-1017.slice.
Feb 16 00:04:48 invader44 systemd[1]: Starting User Manager for UID 1017...
Feb 16 00:04:48 invader44 systemd[1]: Starting Session c3 of user sandeep.
Feb 16 00:04:48 invader44 systemd[1]: Started Session c3 of user sandeep.
Feb 16 00:04:48 invader44 systemd[10414]: Starting Paths.
Feb 16 00:04:48 invader44 systemd[10414]: Reached target Paths.
Feb 16 00:04:48 invader44 systemd[10414]: Starting Timers.
Feb 16 00:04:48 invader44 systemd[10414]: Reached target Timers.
Feb 16 00:04:48 invader44 systemd[10414]: Starting Sockets.
Feb 16 00:04:48 invader44 systemd[10414]: Reached target Sockets.
Feb 16 00:04:48 invader44 systemd[10414]: Starting Basic System.
Feb 16 00:04:48 invader44 systemd[10414]: Reached target Basic System.
Feb 16 00:04:48 invader44 systemd[10414]: Starting Default.
Feb 16 00:04:48 invader44 systemd[10414]: Reached target Default.
Feb 16 00:04:48 invader44 systemd[10414]: Startup finished in 13ms.
Feb 16 00:04:48 invader44 systemd[1]: Started User Manager for UID 1017.
Feb 16 00:17:01 invader44 CRON[10460]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Observation: Adding a static route is causing vnetd to go into panic status and got crashed after some time (5-10 minute)
The text was updated successfully, but these errors were encountered: