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

Log detailed errors if refreshing SA credential goes wrong #481

Conversation

yawangwang
Copy link
Collaborator

@yawangwang yawangwang commented Aug 26, 2024

We have flaky long lived because container launcher failed to fetch container signatures with 403 errors.

Looks like the detailed error message is swallowed by pullTargetImage method where refreshing SA credentials first returns an error and then failover to fetching a public docker repo.

We should log the error message accordingly to determine what exactly went wrong.

@yawangwang yawangwang changed the title Return error when refreshing remote containerd resolver fails Log detailed errors if refreshing SA credential goes wrong Aug 26, 2024
@yawangwang yawangwang requested a review from jkl73 August 26, 2024 23:36
@yawangwang yawangwang force-pushed the add_loggings_for_fetching_container_signatures branch from 9e31470 to dbaf3d7 Compare August 29, 2024 00:00
@yawangwang
Copy link
Collaborator Author

/gcbrun

@yawangwang yawangwang merged commit f2896f4 into google:main Sep 10, 2024
11 checks passed
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.

None yet

2 participants