Open XavM opened 8 years ago
yes, upstream_check is too old, and not compatible to any module which changes upstream dynamically. we has known it, before 2.1.1 being issued, but we can not spare too much time on that. so if someone helps us redesign this module, we will appreciate it.
With tengine 2.1.2, are those two modules still not compatible? If not, any other workaround?
- ngx_http_upstream_check_module (check module)
- ngx_http_upstream_dynamic_module (dynamic_resolve module)
@gfrankliu It seems not. We're using Tengine version: Tengine/2.2.0 (nginx/1.8.1)
, but still got this kind of errors. :(
Has this issue been solved yet?
Hello,
The 2 following modules seam to be incompatible with each other :
When a node is flagged as "down" by the check module, tengine still forward requests to this node, resulting in HTTP-502
When a new IP is added to the domain (thru an external DNS server), the dynamic_resolve module add it to the upstream liste and forwards requests to it, but the check module does not display it thru the check_status http endpoint
To reproduce :
Conf :
The "test.dev" domain resolved to only 2 IPs when nginx is first started
A third IP (192.168.0.30) is then added to the "test.dev" domain
The check_status URL only returns the list of known IPs from start time
When one IP is detected as "status": "down", tengine keeps sending requests to that IP