-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.17.z, 4.16.z, 4.18.0
-
None
-
None
-
False
-
Description of problem:
This is a "clone" of https://issues.redhat.com/browse/OCPBUGS-38647 Multus CNI's delete doesn't delete Pods if the API server is not up.
Version-Release number of selected component (if applicable):
MicroShift ships Multus in 4.16+
How reproducible:
100%
Steps to Reproduce:
1. Start MicroShift 2. Cleanup microshift (sudo microshift-cleanup-data --all) 3. Run `sudo crictl pods`
Actual results:
There are Pods running
Expected results:
There should be no Pods running
Additional info:
Primary problem seems to be that func GetPod() [https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/pkg/multus/multus.go#L510] doesn't return - it takes too long and perhaps CRI-O doesn't wait that long: 2024-11-26T08:45:51Z [debug] CmdDel: &{8cc9b938cc29474eeca8593c1c22a2f258a4794bdc1e2bfa2ffb2572a1d2671a /var/run/netns/c5786f46-2faf-43b7-84d5-8f1e1cf5d3b4 eth0 IgnoreUnknown=1;K8S_POD_NAMESPACE=openshift-service-ca;K8S_POD_NAME=service-ca-7cf6f558c6-7b4t7;K8S_POD_INFRA_CONTAINER_ID=8cc9b938cc29474eeca8593c1c22a2f258a4794bdc1e2bfa2ffb2572a1d2671a;K8S_POD_UID=1f986d36-414b-4fb6-892c-06ebb86e6f19 /run/cni/bin:/usr/libexec/cni [...]}, <nil>, <nil> 2024-11-26T08:45:51Z [debug] GetPod for [openshift-service-ca/service-ca-7cf6f558c6-7b4t7] starting
Full log: https://drive.google.com/file/d/1zUyJ7DXdwV0sogSxMZ66BgGiMgQYSmMp/view?usp=sharing
- blocks
-
OCPBUGS-38647 The microshift-cleanup-data script does not delete all pods when multus RPM is installed
-
- ASSIGNED
-
- is cloned by
-
OCPBUGS-47470 [backport 418] Multus thin plugin's CmdDel waits for API server indefinitely
-
- ASSIGNED
-
- is depended on by
-
OCPBUGS-47470 [backport 418] Multus thin plugin's CmdDel waits for API server indefinitely
-
- ASSIGNED
-
- links to