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

Enable GRPC logs for telemetry process in telemetry docker #20889

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

zbud-msft
Copy link
Contributor

@zbud-msft zbud-msft commented Nov 21, 2024

Why I did it

Work item tracking
  • Microsoft ADO (number only):29819089

How I did it

Added GRPC_GO_LOG flag to enable grpc logging for telemetry process in telemetry docker. Follow up of #20798.

How to verify it

Tested by adding these flags to telemetry.sh inside telemetry docker and sending request from client

Nov 21 23:27:53.652438 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:27:53 grpc: Server.Serve failed to complete security handshake from "X:39702": remote error: tls: bad certificate
Nov 21 23:27:54.834302 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:27:54 grpc: Server.Serve failed to complete security handshake from "X:39706": remote error: tls: bad certificate
Nov 21 23:27:56.806615 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:27:56 grpc: Server.Serve failed to complete security handshake from "X:48010": remote error: tls: bad certificate
Nov 21 23:27:59.296430 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:27:59 grpc: Server.Serve failed to complete security handshake from "X:48026": remote error: tls: bad certificate
Nov 21 23:28:04.104834 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:28:04 grpc: Server.Serve failed to complete security handshake from "X:48036": remote error: tls: bad certificate
Nov 21 23:28:10.553530 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:28:10 grpc: Server.Serve failed to complete security handshake from "X:55256": remote error: tls: bad certificate
Nov 21 23:28:21.792336 Z INFO telemetry#supervisord: telemetry WARNING: 2024/11/21 23:28:21 grpc: Server.Serve failed to complete security handshake from "X:33336": remote error: tls: bad certificate

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@rlhui rlhui merged commit 412202e into sonic-net:master Nov 24, 2024
22 checks passed
@bingwang-ms
Copy link
Contributor

@zbud-msft Is this change required for 202405? Please add ADO number if it's required.

@zbud-msft
Copy link
Contributor Author

@bingwang-ms Can we backport to 202405? I have added ADO number

VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants