vpp-agent
vpp-agent copied to clipboard
Configurator: Dump is not thread-safe
When I am trying to dump information about interfaces from multiple goroutines, I get few types of errors:
time="2020-01-08 10:16:17.72579" level=error msg="DumpInterfaces failed: failed to dump span: missing binary API reply with sequence number: 71" loc="configurator/dump.go(81)" logger=configurator.dump
time="2020-01-08 10:16:19.21478" level=error msg="DumpInterfaces failed: failed to dump interface: missing binary API reply with sequence number: 156" loc="configurator/dump.go(81)" logger=configurator.dump
time="2020-01-08T10:16:19Z" level=error msg="An error during client.Dump: rpc error: code = Unknown desc = interface dump: failed to get IPv6 VRF from interface 5: missing binary API reply with sequence number: 158"
time="2020-01-08T10:16:19Z" level=error msg="An error during client.Dump: rpc error: code = Unknown desc = failed to dump interface 4 IP address details: missing binary API reply with sequence number: 165"
vpp-agent version: 2.5.1 vpp version: 19.08.1-345~g814e898eb~
Full log: vpp-agent-log.txt