Description of problem: Following log messages should be at a higher level: I1031 16:15:57.540137 1 router.go:964] default/docker-registry: weight 100 100.000000 256 I1031 16:15:57.540155 1 router.go:964] default/registry-console: weight 100 100.000000 256 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
PR https://github.com/openshift/origin/issues/17109
Commits pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/dbe633a72982cf0ac60fdb04fbf4913ecfdaf15e Router - reduce log output Change display of server weights to V(6) to cut down on log output. bug 1508047 https://bugzilla.redhat.com/show_bug.cgi?id=1508047 https://github.com/openshift/origin/commit/eec9d69047781d2212606149e497585d32f95961 Merge pull request #17109 from pecameron/weight-log Automatic merge from submit-queue. Router - reduce log output Change display of server weights to V{6) to cut down on log output. bug 1508047 https://bugzilla.redhat.com/show_bug.cgi?id=1508047
Tested this issue on v3.7.0-0.190.0 No these logs found steps: 1. Create caddy and caddy-2 pod 2. Create svc oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/abrouting/unseucre/service_unsecure-2.json oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/abrouting/unseucre/service_unsecure.json 3. Create route oc expose svc service-unsecure 4. Set the route to roundrobin oc annotate route service-unsecure --overwrite=true haproxy.router.openshift.io/balance=roundrobin 5. Set the weight for the route oc set route-backends service-unsecure service-unsecure=20 service-unsecure-2=80 6. check the router logs, no any logs in the description found.
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/RHSA-2017:3188