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

Логировать request-id в случае ошибок от API #442

Open
Inv1x opened this issue Jul 25, 2023 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Inv1x
Copy link

Inv1x commented Jul 25, 2023

Передаются параметры revision-secrets, после чего пайплайн деплоя падает c Permisson Denied. Без revision-secrets всё проходит

Используется SA, есть доступ к секретам (lockbox.admin)

Screenshot 2023-07-26 at 00 54 50
@nikolaymatrosov nikolaymatrosov added enhancement New feature or request good first issue Good for newcomers labels Jul 26, 2023
@nikolaymatrosov nikolaymatrosov changed the title баг с прикреплением revision-secrets Логировать request-id в случае ошибок от API Jul 26, 2023
@nikolaymatrosov
Copy link
Member

В идеале, в логи должны попадать id, как и при вызове CLI. Пример ошибки из CLI:

ERROR: rpc error: code = PermissionDenied desc = Permission denied


server-request-id: 00000000-0000-0000-0000-000000000000
client-request-id: 00000000-0000-0000-0000-000000000000
server-trace-id: 0000000000000000:1111111111111111:0000000000000000:1
client-trace-id: 00000000-0000-0000-0000-000000000000

Use server-request-id, client-request-id, server-trace-id, and client-trace-id for investigation of issues in cloud support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants