-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.18
-
None
-
Moderate
-
No
-
3
-
uShift Sprint 263
-
1
-
False
-
Description of problem:
"server pod:web-server-rc-6dwzt:service-unsecure:http:10.42.0.13:8080 10.42.0.13:8080 cookie 654bccaf8ef4db9d1848224346d33514 weight 1"
missing "check inter 5000ms"
Version-Release number of selected component (if applicable):
4.18
How reproducible:
100%
Steps to Reproduce:
1. create pod, service and a route % oc get route NAME HOST ADMITTED SERVICE TLS service-unsecure service-unsecure-default.apps.example.com True service-unsecure % oc get ep NAME ENDPOINTS AGE kubernetes 10.44.0.0:6443 19h service-secure 10.42.0.13:8443 15h service-unsecure 10.42.0.13:8080 15h 2. rsh to the router pod, and check the backend server pod's configuration, it has not the "check inter 5000ms" configuration. % oc -n openshift-ingress rsh router-default-7c64f4b496-94d4s sh-5.1$ cat haproxy.config | grep -A20 "backend be_http:default:service-unsecure" backend be_http:default:service-unsecure mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie a84fef2b01006bb7036c768d4a819999 insert indirect nocache httponly server pod:web-server-rc-6dwzt:service-unsecure:http:10.42.0.13:8080 10.42.0.13:8080 cookie 654bccaf8ef4db9d1848224346d33514 weight 1 sh-5.1$ 3. rsh to a router pod of a 4.18 OCP cluster, it has the "check inter 5000ms" configuration. % oc -n openshift-ingress rsh router-default-79597c7f5-kllkr sh-5.1$ cat haproxy.config | grep -A7 "backend be_tcp:openshift-ingress-canary:canary" backend be_tcp:openshift-ingress-canary:canary balance roundrobin hash-type consistent timeout check 5000ms server pod:ingress-canary-vks6b:ingress-canary:8443-tcp:10.128.2.7:8443 10.128.2.7:8443 weight 1 check inter 5000ms server pod:ingress-canary-6kcs4:ingress-canary:8443-tcp:10.129.2.9:8443 10.129.2.9:8443 weight 1 check inter 5000ms server pod:ingress-canary-4kf9v:ingress-canary:8443-tcp:10.131.0.7:8443 10.131.0.7:8443 weight 1 check inter 5000ms
Actual results:
"server pod:web-server-rc-6dwzt:service-unsecure:http:10.42.0.13:8080 10.42.0.13:8080 cookie 654bccaf8ef4db9d1848224346d33514 weight 1"
Expected results:
"server pod:web-server-rc-6dwzt:service-unsecure:http:10.42.0.13:8080 10.42.0.13:8080 cookie 654bccaf8ef4db9d1848224346d33514 weight 1 check inter 5000ms"
Additional info: