Skip to content
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

Arista AP sends EOF error in the middle of telemetry stream #314

Open
JoseIgnacioTamayo opened this issue Nov 18, 2022 · 0 comments
Open

Comments

@JoseIgnacioTamayo
Copy link
Contributor

This happens only with an Arista (Mojo) AP so far:

SubscribeStream(/access-points/access-point[hostname=*]/radios/radio[id=1][operating-frequency=FREQ_2GHZ]/state) <= gRCP Error: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "EOF"
debug_error_string = "UNKNOWN:Error received from peer ipv4:100.77.250.244:8080 {created_time:"2022-11-18T01:00:57.051639987-08:00", grpc_status:2, grpc_message:"EOF"}"

In the telemetry stream started with a gNMI Subscribe, the Target returns a gRPC error that contains a message "EOF". If the intention is to signal EndOfBatch, the gNMI specification tells how to do it (https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#3514-the-subscriberesponse-message)

oc_config_validate cannot deal with this gRCP error that is not an error, currently it is interpreted as if the stream was broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant