Bug 1752521
Summary: | Route with 2 named ports sends traffic to wrong one with the correct one is down [4.1 backport] | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> | |
Component: | Networking | Assignee: | Miciah Dashiel Butler Masters <mmasters> | |
Networking sub component: | router | QA Contact: | Hongan Li <hongli> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | urgent | |||
Priority: | medium | CC: | aos-bugs, bbennett, dmace, hcisneir, hongli, jlee, mrobson | |
Version: | 4.1.z | |||
Target Milestone: | --- | |||
Target Release: | 4.1.z | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1730778 | |||
: | 1756166 (view as bug list) | Environment: | ||
Last Closed: | 2019-10-16 18:07:59 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1730778, 1756166 | |||
Bug Blocks: |
Description
Miciah Dashiel Butler Masters
2019-09-16 14:22:55 UTC
verified with 4.1.0-0.nightly-2019-10-04-210822 and issue has been fixed. Note: firstly should disable CVO then disable ingress operator (only disabling ingress operator doesn't work since it will be restored by CVO) 1. oc scale deployment/cluster-version-operator --replicas=0 -n openshift-cluster-version 2. oc scale deployment/ingress-operator --replicas=0 -n openshift-ingress-operator 3. oc set env deployment/router-default ROUTER_HAPROXY_CONFIG_MANAGER=true -n openshift-ingress 4. create your project, pod, svc with two ports and route 5. rsh to router pod and check server status sh-4.2$ echo "show servers state be_http:hongli:mysvc" | socat - UNIX-CONNECT:/var/lib/haproxy/run/haproxy.sock 1 # be_id be_name srv_id srv_name srv_addr srv_op_state srv_admin_state srv_uweight srv_iweight srv_time_since_last_change srv_check_status srv_check_result srv_check_health srv_check_state srv_agent_state bk_f_forced_id srv_f_forced_id srv_fqdn srv_port srvrecord 39 be_http:hongli:mysvc 1 pod:caddy-rc-wd7h4:mysvc:10.128.2.12:8080 10.128.2.12 2 0 256 256 93 6 3 4 6 0 0 0 - 8080 - 39 be_http:hongli:mysvc 2 pod:caddy-rc-d75qj:mysvc:10.131.0.17:8080 10.131.0.17 2 0 256 256 93 6 3 4 6 0 0 0 - 8080 - 39 be_http:hongli:mysvc 3 _dynamic-pod-1 172.4.0.4 0 5 1 1 93 1 0 0 14 0 0 0 - 8765 - 39 be_http:hongli:mysvc 4 _dynamic-pod-2 172.4.0.4 0 5 1 1 93 1 0 0 14 0 0 0 - 8765 - 39 be_http:hongli:mysvc 5 _dynamic-pod-3 172.4.0.4 0 5 1 1 93 1 0 0 14 0 0 0 - 8765 - 39 be_http:hongli:mysvc 6 _dynamic-pod-4 172.4.0.4 0 5 1 1 93 1 0 0 14 0 0 0 - 8765 - 39 be_http:hongli:mysvc 7 _dynamic-pod-5 172.4.0.4 0 5 1 1 93 1 0 0 14 0 0 0 - 8765 - Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3004 |