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

Error with "cannot assign requested address" After Running for Some Time

Open m-yosefpor opened this issue 3 years ago • 6 comments

Describe the bug

I'm running argocd-image-update to update some images based on semver strategy. Everything works fine in the beginning, but after some time (couple days) I started getting error says "connect: cannot assign requested address" and nothing works. Restarting pod could bring it back to working state, but the issue will return in a couple of days.

It seems the connections are never closed.

$ netstat -anp  | grep ESTABLISHED | wc -l
84697

Version Image-updater v0.12.0 (helm chart v0.8.0) Argocd v2.3.2

Logs

time="2022-04-11T07:41:40Z" level=error msg="Could not get tags from registry: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp 172.30.17.78:5000: connect: cannot assign requested address" alias=cron application=snappdoctor-mds image_name=snappdoctor-mds/mds-cron image_tag=v0.1.1 registry="image-registry.openshift-image-registry.svc:5000" time="2022-04-11T07:41:40Z" level=info msg="Processing results: applications=16 images_considered=26 images_skipped=18 images_updated=0 errors=26"

m-yosefpor avatar Apr 11 '22 07:04 m-yosefpor

Hi @m-yosefpor, what write-back strategy do you use?

jannfis avatar Apr 12 '22 07:04 jannfis

@jannfis Thanks for your attention. argocd application override writeback.

m-yosefpor avatar Apr 13 '22 09:04 m-yosefpor

@m-yosefpor did you find any solution? I have exactly the same issue

andreasathanasopoulos avatar Feb 16 '24 15:02 andreasathanasopoulos

@m-yosefpor did you find any solution? I have exactly the same issue

a cronjob to rollout the deployment every few hours

m-yosefpor avatar Feb 16 '24 15:02 m-yosefpor

We also have the same issue, and it has also caused a NAT concurrent session exhaustion, making the cluster unable to access the public network. Have any update?

icecoffee531 avatar Apr 29 '24 07:04 icecoffee531