Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1508047 - Router reduce log output
Router reduce log output
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Routing (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7.0
Assigned To: Phil Cameron
zhaozhanqi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-31 14:04 EDT by Phil Cameron
Modified: 2017-11-28 17:20 EST (History)
2 users (show)

See Also:
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 17:20:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Origin (Github) 17109 None None None 2017-10-31 14:10 EDT
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Phil Cameron 2017-10-31 14:04:57 EDT
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 14:23:05 EDT
PR https://github.com/openshift/origin/issues/17109
Comment 2 openshift-github-bot 2017-10-31 21:22:09 EDT
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 02:54:36 EDT
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 17:20:29 EST
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.