Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

need more details for report_batch.cc:78] Mixer Report failed with: UNAVAILABLE #106

Closed
ldemailly opened this issue Sep 8, 2017 · 5 comments
Assignees
Milestone

Comments

@ldemailly
Copy link
Member

ldemailly commented Sep 8, 2017

We see quite a lot of :

W0908 06:04:25.765] [libprotobuf ERROR external/mixerclient_git/src/report_batch.cc:78] Mixer Report failed with: UNAVAILABLE

eg https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/699/e2e-suite-rbac-no_auth/360/

it would be great upon error to print which ip etc. we were connecting to and more details and granularity about the failure (did we fail to connect, did we timeout, did we not get a response, did we get a weird response, read error etc... (did we read anything, if so print that)

cc @mandarjog

@qiwzhang
Copy link
Contributor

qiwzhang commented Sep 8, 2017

This is the gRPC call status. Report API API did not return any response. gRPC status could mean both network error or sever error. UNAVAILABLE most likely from mixer server.

We don't know mixer IP. Only Envoy cluster manager know.

@ldemailly
Copy link
Member Author

Thanks !

is there some verbose or debug we can turn on for grpc c++ client to get more info for failure ?

are you sure there is nothing useful/printable in the response for instance (before delete) ?

sorry for silly question but how do we connect if we don't know to what ? is there a debug level in envoy that would print more info

@qiwzhang
Copy link
Contributor

qiwzhang commented Sep 8, 2017

We are using Envoy gRPC async client code. If debug is on, it may print more debug info.

Mixer server ip is specified in "ClusterManager" in the envoy config generated by Pilot. Again, Envoy gRPC async client code use it. The caller just specifies the "cluster name".

@ldemailly
Copy link
Member Author

funnily we still have that issue right now

@qiwzhang
Copy link
Contributor

If the issue is that the Error should not be there, I think we need to check Mixer log.

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

No branches or pull requests

3 participants