argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

Unable to resolve DNS requests when they get upgraded to TCP - simple fix(rebuild image)

Open petterroea opened this issue 1 year ago • 1 comments

Describe the bug The latest release was released in January this year. At the time, there was a bug in alpine where the DNS implementation in musl didn't support upgrading to TCP.

The release uses Alpine 3.15. This bug existed in Alpine until 3.18, which was released in may 2023. The last release of this software was in January.

See the mention about the issue in kubernetes docs: https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/

To fix the bug, simply re-build the image.

To Reproduce exec into the container and use the wget binary that is still there to resolve some domains using the inbuilt resolver. A domain registered by njal.la tends to work, but I don't have any I can disclose.

Expected behavior DNS resolves

Additional context Add any other context about the problem here.

Version 0.12.2

Logs Please paste any relevant logs here

petterroea avatar Nov 16 '23 16:11 petterroea

Since this project is not using a version pinned version of alpine when building, simply rebuilding the image should solve the problem: https://github.com/argoproj-labs/argocd-image-updater/blob/master/Dockerfile#L13

petterroea avatar Nov 16 '23 16:11 petterroea