Bug 1508047

Summary: Router reduce log output
Product: OpenShift Container Platform Reporter: Phil Cameron <pcameron>
Component: NetworkingAssignee: Phil Cameron <pcameron>
Networking sub component: router QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, bbennett
Version: 3.7.0   
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: No doc change needed. Consequence: Fix: Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:20:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Phil Cameron 2017-10-31 18:04:57 UTC
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:

Comment 1 Ben Bennett 2017-10-31 18:23:05 UTC
PR https://github.com/openshift/origin/issues/17109

Comment 2 openshift-github-bot 2017-11-01 01:22:09 UTC
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

Comment 4 zhaozhanqi 2017-11-03 06:54:36 UTC
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.

Comment 7 errata-xmlrpc 2017-11-28 22:20:29 UTC
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