Load Balancer showing wrong Status when using aliases for the port
I have come across the issue of using Load Balancer with Port Alias's and the status not showing properly in the GUI.
Checking using relayctl show summary shows the pool as being active with all 3 hosts.
I have tested changing the name of the Alias to not include _ underscores, but it does not work either (previous bug was using a (.) period would cause the Unknown - relayd not running? to show in the GUI
The only way the Status in the GUI would show is if i put in a single port number instead of an Alias.
I have restarted the relayd several times as well just to be sure.
#1 Updated by Daniel Onisoru about 5 years ago
I confirm that this is the case in the latest version (2.1.5).
Also there seems to be something wrong with monitors when using aliases for ports.
For example I've set up a alias named "web" with ports 80:443 and set up a HTTPS monitor expecting a 200 status.
The problem is that it's using a https request for port 80 and, of course, it replies with a 400 Bad request so port 80 is always down.
Maybe this should be a different issue ?
#2 Updated by Murray Crane over 4 years ago
Just to bump, this is still the case in 2.2.3. If Daniel Onisoru's ports alias issue above hasn't been made into an issue (will check shortly), only workaround I have found thus far (i.e., have relayd keep both LB routes open/up) is to not use either an HTTP or HTTPS monitor, and instead use the relatively simple ICMP monitor (which is annoying as that's why we're using the LB in the first place. Yes, the machine may well be up, but that tells me nothing about the status of Apache...).
#3 Updated by Chris Buechler over 4 years ago
- Subject changed from Load Balancer showing wrong Status when using Alias's for the port to Load Balancer showing wrong Status when using aliases for the port
- Status changed from New to Confirmed
- Affected Version changed from 2.1 to All
- Affected Architecture deleted (
#5 Updated by Harry Coin over 3 years ago
Confirmed still in 2.3_1. Use of ip alias in address field of virtual server cause " causes status "Unknown - relayd not running?"
Also: Changing alias name does not update the alias name in the load balancer virtual pool list.
Use of _ or just alpha in the alias name makes no difference.