zalando-stups / taupage

THIS PROJECT IS NOT LONGER ACTIVELY MAINTAINED - The base Amazon Machine Image (AMI) allowing dockerized applications to run with STUPS
https://docs.stups.io/en/latest/components/taupage.html
Other
44 stars 50 forks source link

Race Condition in register-in-etcd #122

Open lukasniemeier-zalando opened 9 years ago

lukasniemeier-zalando commented 9 years ago

There is a race condition on booting when executing register-in-etcd.

register-in-etcd: requests.exceptions.ConnectionError: HTTPConnectionPool(host='172.17.42.1', port=2379): Max retries exceeded with url: /v2/keys/taupage/ip-111-11-111-111.eu-west-1.compute.internal (Caused by <class 'ConnectionRefusedError'>: [Errno 111] Connection refused)

13:30:57.000 Aug 14 11:30:57

Taupage tries to connect to the local ETCD proxy before it is up and running.

hjacobs commented 9 years ago

Yes, that's annoying and produces unnecessary error log lines.