+++ This bug was initially created as a clone of Bug #1961554 +++
ShutdownDelayDuration allows for blocking shut down for some time, e.g. until endpoints pointing to this API server have converged on all nodes.
During this time, the API server keeps serving, /healthz will return 200, but /readyz will return failure. This is important for the graceful shutdown.
Previously the OpenShiftAPI server didn't respect this setting and could have caused some interruption to clients's requests.
--- Additional comment from Lukasz Szaszkiewicz on 2021-05-18 09:11:31 UTC ---
I think the best way to test it is to change the value manually to some high number and then trigger termination. The server should shut down after the specified time.
Verified in 4.7.0-0.nightly-2021-06-02-233051 env with steps of bug 1961554#c4 ~ 7, got same result.
This bug will be shipped as part of next z-stream release 4.7.15 on June 14th, as 4.7.14 was dropped due to a regression https://bugzilla.redhat.com/show_bug.cgi?id=1967614
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 (Moderate: OpenShift Container Platform 4.7.16 security and bug fix 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.