Bug 1508047 - Router reduce log output
Summary: Router reduce log output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.7.0
Assignee: Phil Cameron
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-31 18:04 UTC by Phil Cameron
Modified: 2022-08-04 22:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: No doc change needed. Consequence: Fix: Result:
Clone Of:
Environment:
Last Closed: 2017-11-28 22:20:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Origin (Github) 17109 0 None None None 2017-10-31 18:10:22 UTC
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.