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

[Experiment][Don't review]send alternate rsrc version #290

Closed
wants to merge 2 commits into from

Conversation

jyotimahapatra
Copy link
Contributor

@jyotimahapatra jyotimahapatra commented Apr 17, 2020

Error Message:

[2020-04-17 19:18:00.722][1209][debug][config] [source/common/config/grpc_mux_impl.cc:136] Received gRPC message for type.googleapis.com/envoy.config.cluster.v3.Cluster at version v0
[2020-04-17 19:18:00.722][1209][warning][config] [source/common/config/grpc_mux_impl.cc:139] Ignoring the message for type URL type.googleapis.com/envoy.config.cluster.v3.Cluster as it has no current subscribers.

Signed-off-by: Jyoti Mahapatra <jmahapatra@lyft.com>
@@ -161,15 +161,12 @@ func createResponse(resp *cache.Response, typeURL string) (*discovery.DiscoveryR
Value: resp.MarshaledResources[i],
}
} else {
marshaledResource, err := cache.MarshalResource(resp.Resources[i])
marshaledResource, err := cache.MarshalResource(resp.Resources[i], typeURL)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should discovery.DiscoveryResponse.TypeUrl below be updated as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see...trying that out.

Copy link
Contributor Author

@jyotimahapatra jyotimahapatra Apr 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There;s still some issue. From envoy logs

[2020-04-17 19:18:00.722][1209][debug][config] [source/common/config/grpc_mux_impl.cc:136] Received gRPC message for type.googleapis.com/envoy.config.cluster.v3.Cluster at version v0
[2020-04-17 19:18:00.722][1209][warning][config] [source/common/config/grpc_mux_impl.cc:139] Ignoring the message for type URL type.googleapis.com/envoy.config.cluster.v3.Cluster as it has no current subscribers.

https://github.com/envoyproxy/envoy/blob/master/source/common/config/grpc_mux_impl.cc#L131

Signed-off-by: Jyoti Mahapatra <jmahapatra@lyft.com>
@jessicayuen jessicayuen closed this Jun 9, 2020
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

Successfully merging this pull request may close these issues.

3 participants