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

Error hidden when accessing Gardener configmap shoot-info #302

Open
1 task
tobiscr opened this issue Jul 25, 2024 · 0 comments
Open
1 task

Error hidden when accessing Gardener configmap shoot-info #302

tobiscr opened this issue Jul 25, 2024 · 0 comments
Labels
area/application-connector Issues or PRs related to application connectivity kind/bug Categorizes issue or PR as related to a bug.

Comments

@tobiscr
Copy link
Contributor

tobiscr commented Jul 25, 2024

Description

The ACM is not reporting the error when it tries to detect the domain of the Gardener cluster.

This make debugging unnecessary difficult (e.g. in case of permission errors). We should, beside the error message of not being able to read the domain-name, also report the error message we received from K8s.

See

return stopWithErrorAndRequeue(fmt.Errorf("unable to detect domain"))

AC:

  • include the origin error message in the propagated error when firing the error-message again.

Expected result

ACM is showing an error message which includes the root-casue if it's failing to access the shoot-info Configmap.

Actual result

Just the error unable to detect domain is reported, but not the root-cause why it failed to read the Gardener config map.

Steps to reproduce

Simulate to use a non-Gardener cluster by renaming the shoot-info CM or use a K3d cluster. Install ACM manually afterwards and see how it complains about the missing domain.

Troubleshooting

@tobiscr tobiscr added kind/bug Categorizes issue or PR as related to a bug. area/application-connector Issues or PRs related to application connectivity labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/application-connector Issues or PRs related to application connectivity kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant