envoyproxy/envoy

AsyncClientFactory getThreadLocalCluster failure under validation_server

Open

#15.447 geöffnet am 11. März 2021

Auf GitHub ansehen
 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/grpcbughelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

We're seeing an issue validating our grpc access logging config

[external/envoy/source/server/config_validation/server.cc:60] error initializing configuration 'generated/config/envoy_canary.yaml': Unknown gRPC client cluster 'grpceventsink'

I think these lines should be using the helper ClusterInfoMaps.getCluster() instead of iterating the map manually.

https://github.com/envoyproxy/envoy/blob/e20957c011b11a4f9f935ec7556ed89d1d8c22d7/source/common/grpc/async_client_manager_impl.cc#L41-L42

Contributor Guide