apache / apache/cloudstack

Dont' show udp protocol for LB rules if the provider is Virtual Router

Offen
#13,685 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
component:networking
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

### problem

Dont' show udp protocol for LB rules if the provider is Virtual Router

### versions

ACS 4.22.1

### The steps to reproduce the bug

1. Create an isolated network with network offering where LB is set to Virtual Router

Image

2. Navigate Network > public ip address > create a LB > Select UDP proctocol > ADD a instance

Image

Image

3. Currently UDP protocol is not supported by HA PROXY tool( version - 2.6.12) , whichis responsible for creating LB rules.

Image

HA Proxy supports UDP only in the commercial verison https://www.haproxy.com/documentation/haproxy-enterprise/

```
root@r-61-VM:~# cat /etc/haproxy/haproxy.cfg
global
log 127.0.0.1:3914 local0 info
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon

defaults
log global
mode tcp
option dontlognull
retries 3
option redispatch
option forwardfor
stats enable
stats uri /admin?stats
stats realm Haproxy\ Statistics
stats auth admin1:AdMiN123
option httpclose
timeout connect 5000
timeout client 50000
timeout server 50000

listen cloud-default
bind 0.0.0.0:35999
option transparent
root@r-61-VM:~# ps -ef |grep haproxy
root 2062 1 0 15:06 ? 00:00:00 /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -S /run/haproxy-master.sock
haproxy 2092 2062 0 15:06 ? 00:00:00 /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -S /run/haproxy-master.sock


```

### What to do about it?

Don't show udp protocol when creating LB rule in case of Virtual router

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie unter Network > public IP address > create a LB und reproduzieren Sie die anbieterspezifischen Protokollauswahlen mit ausgewähltem Virtual Router. Bestätigen Sie, dass die UDP-Option für Virtual Router nicht vorhanden ist, während unterstützte Optionen weiterhin verfügbar sind, und überprüfen Sie anschließend, dass der daraus resultierende Ablauf zur Erstellung des Load Balancers weiterhin funktioniert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
cloud, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
62/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.