Description of problem: `oc idle` functionality is not working with OpenShift 4.6. Once the pods are idled, it is not re-instated once the traffic flows in. Version-Release number of selected component (if applicable): OpenShift v4.6.12 How reproducible: 100% Steps to Reproduce: 1. Create a new-app and idle the pods: # oc new-app httpd # oc expose svc httpd # oc idle httpd 2. Try cURL to the URL: [quicklab@upi-0 ~]$ curl -kvv server-test.apps.ocp468cluster.lab.upshift.rdu2.redhat.com * About to connect() to server-test.apps.ocp468cluster.lab.upshift.rdu2.redhat.com port 80 (#0) .. <h1>Application is not available</h1> <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p> <div class="alert alert-info"> <p class="info"> Possible reasons you are seeing this page: </p> <ul> <li> <strong>The host doesn't exist.</strong> Make sure the hostname was typed correctly and that a route matching this hostname exists. </li> <li> <strong>The host exists, but doesn't have a matching path.</strong> Check if the URL path was typed correctly and that the route was created using the desired path. </li> <li> <strong>Route and path matches, but all pods are down.</strong> Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running. </li> .. Actual results: The pods are not getting invoked once the traffic flows in. Expected results: Pods should re-scale once the traffic flows in. Additional info: Had tested this issue with OpenShift 4.5 and it was working as expected, only OpenShift 4.6 is affected it seems.
I checked on 4.6.12, when idle service. curl serviceip:$port can make the pod scale up. So guess this issue happen on routing side.
Move this bug to routing component, and there is already bug https://bugzilla.redhat.com/show_bug.cgi?id=1900989 to trace this issue.
*** This bug has been marked as a duplicate of bug 1900989 ***
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days