Bug 1859382
| Summary: | check-endpoints panics on graceful shutdown | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luis Sanchez <sanchezl> |
| Component: | kube-apiserver | Assignee: | Luis Sanchez <sanchezl> |
| Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.6 | CC: | aos-bugs, ccoleman, kewang, mfojtik, xxia |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:32:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Luis Sanchez
2020-07-21 21:04:07 UTC
Might be related to https://github.com/openshift/cluster-kube-apiserver-operator/pull/906 but can't confirm exact build. Will attempt to reproduce. Already fixed by https://github.com/openshift/cluster-kube-apiserver-operator/pull/906. Verified with OCP 4.6.0-0.nightly-2020-08-01-215144, steps see below,
oc debug node/<master node>
Created one test script as following, the script will shutdown the kube-apiserver gracefully several times,
sh-4.4# cat test.sh
i=0
while [ $i -lt 8 ]; do
pid=$(ps aux | grep " kube-apiserver " | grep -v grep | awk 'NR==1 {print $2}')
if [ "X$pid" != "X$ppid" ];then
echo "kill $pid $i time(s)"
kill $pid
i=$(( i + 1 ))
ppid=$pid
fi
sleep 180
done
sh-4.4# ./test.sh
kill 703095 0 times
kill 733488 1 times
kill 738292 2 times
kill 743032 3 times
kill 748310 4 times
kill 753881 5 times
kill 760332 6 times
kill 772610 7 times
sh-4.4# grep -nri 'panic' openshift-*
No results found,
After the kube-apiserver gracefully shutdown, no any panic occurred, so move the bug Verified.
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.8.2 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:2438 |