Bug 2063138
| Summary: | Draining failed on 1/3 worker during change in cloud-provider-config | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | rlobillo |
| Component: | Node | Assignee: | Elana Hashman <ehashman> |
| Node sub component: | Kubelet | QA Contact: | Sunil Choudhary <schoudha> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | medium | CC: | aos-bugs |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2022-03-14 23:00:36 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
rlobillo
2022-03-11 11:01:18 UTC
Not a blocker, 4.7 is already released. Pod is created and immediately deleted <1s later: Mar 11 02:29:56.125748 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.124190 1862 kubelet.go:1919] SyncLoop (ADD, "api"): "ss-1_e2e-statefulset-2878(94e0b665-19b5-488f-9983-6a0520cf2210)" Mar 11 02:29:56.125748 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.124328 1862 topology_manager.go:187] [topologymanager] Topology Admit Handler Mar 11 02:29:56.125748 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.124650 1862 reflector.go:219] Starting reflector *v1.Secret (0s) from object-"e2e-statefulset-2878"/"default-dockercfg-vsgxz" Mar 11 02:29:56.125748 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.124977 1862 reflector.go:219] Starting reflector *v1.Secret (0s) from object-"e2e-statefulset-2878"/"default-token-72b9p" Mar 11 02:29:56.147751 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.145780 1862 reconciler.go:224] operationExecutor.VerifyControllerAttachedVolume started for volume "default-token-72b9p" (UniqueName: "kubernetes.io/secret/94e0b665-19b5-488f-9983-6a0520cf2210-default-token-72b9p") pod "ss-1" (UID: "94e0b665-19b5-488f-9983-6a0520cf2210") Mar 11 02:29:56.233952 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:56.232860 1862 kubelet.go:1935] SyncLoop (DELETE, "api"): "ss-1_e2e-statefulset-2878(94e0b665-19b5-488f-9983-6a0520cf2210)" Pod never is successfully torn down. DELETE is called but not REMOVE: Mar 11 02:29:58.429850 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: I0311 02:29:58.427495 1862 kubelet.go:1935] SyncLoop (DELETE, "api"): "ss-1_e2e-statefulset-2878(94e0b665-19b5-488f-9983 -6a0520cf2210)" Mar 11 02:29:58.824988 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: E0311 02:29:58.824682 1862 remote_runtime.go:116] RunPodSandbox from runtime service failed: rpc error: code = Unknown d esc = error reading container (probably exited) json message: EOF Mar 11 02:29:58.824988 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: E0311 02:29:58.824894 1862 kuberuntime_sandbox.go:70] CreatePodSandbox for pod "ss-1_e2e-statefulset-2878(94e0b665-19b5- 488f-9983-6a0520cf2210)" failed: rpc error: code = Unknown desc = error reading container (probably exited) json message: EOF Mar 11 02:44:58.497743 ostest-mlxzh-worker-0-r5llw hyperkube[1862]: E0311 02:44:58.496900 1862 fsHandler.go:114] failed to collect filesystem stats - rootDiskErr: could not stat "/var/lib/containers/storage/overlay/081cc45ca306ebba0797107bb38c990dc6437bd0bc1a2ebdf0ce033348705719/diff" to get inode usage: stat /var/lib/containers/storage/overlay/081cc45ca306ebba0797107bb38c990dc6437bd0bc1a2ebdf0ce033348705719/diff: no such file or directory, extraDiskErr: could not stat "/var/log/pods/e2e-statefulset-2878_ss-1_94e0b665-19b5-488f-9983-6a0520cf2210/5ddd115972f3ca7f4ba9f874f787fcd12260404091d17f39e19421c3c34b4a5d.log" to get inode usage: stat /var/log/pods/e2e-statefulset-2878_ss-1_94e0b665-19b5-488f-9983-6a0520cf2210/5ddd115972f3ca7f4ba9f874f787fcd12260404091d17f39e19421c3c34b4a5d.log: no such file or directory This appears to be a duplicate of the behaviour reported in https://bugzilla.redhat.com/show_bug.cgi?id=1912880#c4 This should be fixed in #1915085. Not ideal, but it is typically safe to force delete the affected pod to get the drain unstuck, per https://bugzilla.redhat.com/show_bug.cgi?id=1915085#c22 Is it possible to avoid creating pods and deleting them <1s later? This would also avoid triggering the race condition that causes the issue. We did receive a report (https://bugzilla.redhat.com/show_bug.cgi?id=1915085#c34) that the frequency of the bug still occasionally affects workloads, but this should be fully fixed by 1.22/OpenShift 4.9 with the pod lifecycle refactor. *** This bug has been marked as a duplicate of bug 1915085 *** |