Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Summary of errors when deploy times out #231

Open
kimtore opened this issue Oct 8, 2024 · 1 comment
Open

Summary of errors when deploy times out #231

kimtore opened this issue Oct 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kimtore
Copy link
Contributor

kimtore commented Oct 8, 2024

Today, we show:

Final status: failure: timeout while waiting for deployment to succeed (total of 1 errors)

We should also show possible underlying errors from Kubernetes.
e.g.

Pod/ung-deltakelse-opplyser-5b7d6579fb-jwsg9 (Failed): Error: ErrImagePull

And this monstrosity:

Pod/ung-deltakelse-opplyser-5b7d6579fb-jwsg9 (Failed): Failed to pull image "europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b": [failed to pull and unpack image "europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b": failed to resolve reference "europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b": failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://europe-north1-docker.pkg.dev/v2/token?scope=repository%3Anais-management-233d%2Fk9saksbehandling%2Fnavikt%2Fung-deltakelse-opplyser%3Apull&service=europe-north1-docker.pkg.dev: 403 Forbidden, rpc error: code = NotFound desc = failed to pull and unpack image "europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b": failed to resolve reference "europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b": europe-north1-docker.pkg.dev/nais-management-233d/k9saksbehandling/navikt/ung-deltakelse-opplyser:2024.10.08.122424-72a734b: not found]

@kimtore
Copy link
Contributor Author

kimtore commented Oct 8, 2024

Can we split error messages on : , into a list, to make them readable?

@kimtore kimtore added the enhancement New feature or request label Oct 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant