Bug 2038019
Summary: | static container pod cannot be running due to get different pod UID | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhaozhanqi <zzhao> | |
Component: | Networking | Assignee: | Tomofumi Hayashi <tohayash> | |
Networking sub component: | multus | QA Contact: | Weibin Liang <weliang> | |
Status: | CLOSED WONTFIX | Docs Contact: | ||
Severity: | high | |||
Priority: | high | CC: | sninganu, tohayash | |
Version: | 4.10 | |||
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: | ||||
: | 2066838 (view as bug list) | Environment: | ||
Last Closed: | 2024-04-30 18:04:53 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2038106, 2066838 |
Description
zhaozhanqi
2022-01-07 04:36:32 UTC
source like related this PR https://github.com/k8snetworkplumbingwg/multus-cni/pull/742/files Thanks for the report. I've been able to successfully reproduce, and I'm pending a conversation with my team about how to handle this scenario. Thanks. Upstream issue also filed @ https://github.com/k8snetworkplumbingwg/multus-cni/issues/773 Changing to high priority as this prevents most typical static pods from being created. https://github.com/openshift/multus-cni/pull/121 merged in https://amd64.ocp.releases.ci.openshift.org/releasestream/4.11.0-0.nightly/release/4.11.0-0.nightly-2022-03-29-152521, but verification failed in this build. [weliang@weliang verification-tests]$ oc get pod NAME READY STATUS RESTARTS AGE static-web-ip-10-0-217-25.us-east-2.compute.internal 0/1 ContainerCreating 0 2m3s [weliang@weliang verification-tests]$ [weliang@weliang verification-tests]$ [weliang@weliang verification-tests]$ oc describe pod static-web-ip-10-0-217-25.us-east-2.compute.internal Name: static-web-ip-10-0-217-25.us-east-2.compute.internal Namespace: test Priority: 0 Node: ip-10-0-217-25.us-east-2.compute.internal/10.0.217.25 Start Time: Wed, 30 Mar 2022 15:38:47 -0400 Labels: role=myrole Annotations: k8s.ovn.org/pod-networks: {"default":{"ip_addresses":["10.129.2.10/23"],"mac_address":"0a:58:0a:81:02:0a","gateway_ips":["10.129.2.1"],"ip_address":"10.129.2.10/23"... kubernetes.io/config.hash: ab116838dc61a9295b25c04ab60fe03c kubernetes.io/config.mirror: ab116838dc61a9295b25c04ab60fe03c kubernetes.io/config.seen: 2022-03-30T19:38:47.329193012Z kubernetes.io/config.source: file openshift.io/scc: restricted Status: Pending IP: IPs: <none> Controlled By: Node/ip-10-0-217-25.us-east-2.compute.internal Containers: web: Container ID: Image: nginx Image ID: Port: 80/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Environment: <none> Mounts: <none> Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: <none> QoS Class: BestEffort Node-Selectors: <none> Tolerations: :NoExecute op=Exists Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedCreatePodSandBox 2m7s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_static-web-ip-10-0-217-25.us-east-2.compute.internal_test_ab116838dc61a9295b25c04ab60fe03c_0(65c1d4dced2305c592eb465b65228435a98d1d5c39600deb97b9f2a2f0f4e2b1): error adding pod test_static-web-ip-10-0-217-25.us-east-2.compute.internal to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): [test/static-web-ip-10-0-217-25.us-east-2.compute.internal/ab116838dc61a9295b25c04ab60fe03c:ovn-kubernetes]: error adding container to network "ovn-kubernetes": CNI request failed with status 400: '[test/static-web-ip-10-0-217-25.us-east-2.compute.internal 65c1d4dced2305c592eb465b65228435a98d1d5c39600deb97b9f2a2f0f4e2b1] [test/static-web-ip-10-0-217-25.us-east-2.compute.internal 65c1d4dced2305c592eb465b65228435a98d1d5c39600deb97b9f2a2f0f4e2b1] pod deleted before sandbox ADD operation began ' Warning FailedCreatePodSandBox 2m5s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_static-web-ip-10-0-217-25.us-east-2.compute.internal_test_ab116838dc61a9295b25c04ab60fe03c_0(8ed13112f26159f599f7de0a5ef39e347c64a17e1af181171e4ba33caf3ef62c): error adding pod test_static-web-ip-10-0-217-25.us-east-2.compute.internal to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): [test/static-web-ip-10-0-217-25.us-east-2.compute.internal/ab116838dc61a9295b25c04ab60fe03c:ovn-kubernetes]: error adding container to network "ovn-kubernetes": CNI request failed with status 400: '[test/static-web-ip-10-0-217-25.us-east-2.compute.internal 8ed13112f26159f599f7de0a5ef39e347c64a17e1af181171e4ba33caf3ef62c] [test/static-web-ip-10-0-217-25.us-east-2.compute.internal 8ed13112f26159f599f7de0a5ef39e347c64a17e1af181171e4ba33caf3ef62c] pod deleted before sandbox ADD operation began ' Warning FailedCreatePodSandBox 111s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_static-web-ip-10-0-217-25.us-east-2.compute.internal_test_ab116838dc61a9295b25c04ab60fe03c_0(a6bb9badcb97fdc1628d3ee2e1f098084dbf028a7dbfa3f73ac2d6514720ec6d): error adding pod test_static-web-ip-10-0-217-25.us-east-2.compute.internal to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): [test/static-web-ip-10-0-217-25.us-east-2.compute.internal/ab116838dc61a9295b25c04ab60fe03c:ovn-kubernetes]: error adding container to network "ovn-kubernetes": CNI request failed with status 400: '[test/static-web-ip-10-0-217-25.us-east-2.compute.internal a6bb9badcb97fdc1628d3ee2e1f098084dbf028a7dbfa3f73ac2d6514720ec6d] [test/static-web-ip-10-0-217-25.us-east-2.compute.internal a6bb9badcb97fdc1628d3ee2e1f098084dbf028a7dbfa3f73ac2d6514720ec6d] pod deleted before sandbox ADD operation began ' The above verification did not see the error message like - "expected pod UID "70a2d08f8ad8cd5dfc51ad71fefd1e78" but got "d59103af-b6f6-4e90-84ba-d91112074703" from Kube API". Will open a new bug for the new error message of "CNI request failed with status 400". OCP is no longer using Bugzilla and this bug appears to have been left in an orphaned state. If the bug is still relevant, please open a new issue in the OCPBUGS Jira project: https://issues.redhat.com/projects/OCPBUGS/summary |