Dont' show udp protocol for LB rules if the provider is Virtual Router
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 32
描述
### 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
2. Navigate Network > public ip address > create a LB > Select UDP proctocol > ADD a instance
3. Currently UDP protocol is not supported by HA PROXY tool( version - 2.6.12) , whichis responsible for creating LB rules.
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
貢獻指南
研究方向
從 Network > public IP address > create a LB 開始,在選取 Virtual Router 的情況下重現 provider 特定的通訊協定選項。確認 Virtual Router 不提供 UDP 選項,同時受支援的選項仍然可用,然後驗證由此產生的負載平衡器建立流程仍然正常運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- cloud, frontend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 62/100