Bug 1921252

Summary: with sharded ingresscontrollers, all shards reload when any endpoint changes
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: RoutingAssignee: Andrew McDermott <amcdermo>
Status: CLOSED ERRATA QA Contact: Hongan Li <hongli>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.5CC: amcdermo, aos-bugs, aos-network-edge-staff, dahernan, ltitov, openshift-bugs-escalate, sgreene, svaughn
Target Milestone: ---Keywords: Reopened
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-09 13:34:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1918194    
Bug Blocks:    

Comment 1 Hongan Li 2021-01-28 07:10:11 UTC
verified with cluster launched by cluster-bot (launch openshift/router#251) and passed

$ oc get clusterversion
NAME      VERSION                                           AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.ci.test-2021-01-28-053545-ci-ln-sfr7nbb   True        False         62m     Cluster version is 4.5.0-0.ci.test-2021-01-28-053545-ci-ln-sfr7nbb

1. create route shards with two more custom ingresscontrollers, one is using namespace label and one is using route label.

spec:
  namespaceSelector:
    matchLabels:
      namespace: router-test

spec:
  routeSelector:
    matchLabels:
      route: router-test

2. create two projects, pods, services and routes, ns1 is labelled as "namespace=router-test", route2 in ns2 is labelled as route=router-test 

3. scale up/down the pods in ns2, no reload in the router pod with namespace label.

4. scale up/down the pods in ns1, no reload in the router pod with route label.

Comment 4 Andrew McDermott 2021-02-01 11:53:40 UTC
*** Bug 1918197 has been marked as a duplicate of this bug. ***

Comment 5 Stephen Greene 2021-02-05 17:54:37 UTC
*** Bug 1918197 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2021-02-09 13:34:10 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 (Important: OpenShift Container Platform 4.5.31 bug fix and security update), 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-2021:0313