Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1501845 - the router configuration is not reloaded in 10 minutes after adding namespace label
the router configuration is not reloaded in 10 minutes after adding namespace...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Routing (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.7.0
Assigned To: Ravi Sankar
zhaozhanqi
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-13 06:24 EDT by hongli
Modified: 2017-11-28 17:17 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Sharded router will notice routes immediately Reason: Otherwise router had to wait up to 2 resync intervals for it to notice which may not be acceptable. Result: Sharded router behavior matches with non-sharded router when routes added or deleted.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:17:21 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
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 hongli 2017-10-13 06:24:10 EDT
Description of problem:
If add NAMESPACE_LABELS to router firstly then adding the label to namespace, the router configuration cannot be reloaded in 10 minutes.

Version-Release number of selected component (if applicable):
openshift v3.7.0-0.147.1
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.1


How reproducible:
always

Steps to Reproduce:
1. add NAMESPACE_LABELS to router
   # oc env dc/router NAMESPACE_LABELS=team=red

2. create project, pod, service and route.

3. add label to the project.
   # oc label namespace u1p1 team=red

4. check the router configuration
   # oc rsh router-2-xxxxx cat haproxy.config

Actual results:
Try several times and it need almost 20~30 minutes to load the configuration.

Expected results:
the router configuration should be reloaded in 10 minutes after namespace label changed.

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1415112
Comment 1 Ravi Sankar 2017-10-16 18:47:11 EDT
Fixed in https://github.com/openshift/origin/pull/16039
Comment 2 zhaozhanqi 2017-10-20 02:35:20 EDT
Verified this bug on v3.7.0-0.158.0

this issue have been fixed. the route will be moved to the correct router once the namespace label changed.
Comment 5 errata-xmlrpc 2017-11-28 17:17:21 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.