Describe the Bug
I am running a mixed configuration for a single resource with two targets:
- Newt Target: has health check.
- Local Target, no health check possible (Status: Unknown / -).
When the Newt target goes down and reports as Unhealthy, Pangolin does not use the Local target.
Instead, it returns: no available server.
I have to disable the unhealthy target to switch to local target.
Environment
- OS Type & Version: Ubuntu 22.04
- Pangolin Version: v1.15.2
- Gerbil Version: latest
- Traefik Version: 3.6.7
- Newt Version: 1.9.0
To Reproduce
- Create a resource with two targets:
Target A: Site = Newt, (Status: Healthy)
Target B: Site = Local, (Status: Unknown)
- Verify traffic flows to Target A (Newt).
- Simulate Failure for Target A to become Unhealthy
Result: Request returns: no available server.. Traffic is not routed to Target B, even though is reachable from the Pangolin host.
Expected Behavior
Use local site if all other sites report unhealthy
Describe the Bug
I am running a mixed configuration for a single resource with two targets:
When the Newt target goes down and reports as Unhealthy, Pangolin does not use the Local target.
Instead, it returns: no available server.
I have to disable the unhealthy target to switch to local target.
Environment
To Reproduce
Target A: Site = Newt, (Status: Healthy)
Target B: Site = Local, (Status: Unknown)
Result: Request returns: no available server.. Traffic is not routed to Target B, even though is reachable from the Pangolin host.
Expected Behavior
Use local site if all other sites report unhealthy