-
Bug
-
Resolution: Done-Errata
-
Critical
-
None
-
4.13, 4.14
-
No
-
CNF Network Sprint 234, CNF Network Sprint 236, CNF Network Sprint 237, CNF Network Sprint 238, CNF Network Sprint 239, CNF Network Sprint 242, CNF Network Sprint 248, CNF Network Sprint 251, CNF Network Sprint 252, CNF Network Sprint 257
-
10
-
False
-
-
-
Known Issue
-
Done
-
Description of problem:
Looks like there was a change in RHEL 9.2 every time we change an interface name it adds the old name to the alternative name.
net1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether c2:f5:9e:e2:05:a2 brd ff:ff:ff:ff:ff:ff
altname enp216s0f1v9
altname ens3f1v9
and when we remove a pod and the sriov-cni tries to move back the nic and rename it we get this error
0s Warning FailedKillPod pod/client error killing pod: failed to "KillPodSandbox" for "56fd1e57-c9f3-4aae-8ab7-3f6564e0c675" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to destroy network for pod sandbox k8s_client_seba_56fd1e57-c9f3-4aae-8ab7-3f6564e0c675_0(8b0f6b4a6d8d639e72d0d27b41719389f002e26e6e723c019c716ff43abdb5e1): error removing pod seba_client from CNI network \"multus-cni-network\": plugin type=\"multus\" name=\"multus-cni-network\" failed (delete): DelegateDel: error invoking DelegateDel - \"sriov\": error in getting result from DelNetwork: failed to move interface ens3f1v6 to init netns: file exists"
and the nic is moved to the host with the wrong name
69: dev69: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether c2:f5:9e:e2:05:a2 brd ff:ff:ff:ff:ff:ff
altname enp216s0f1v9
altname ens3f1v9
because of the altname a new pod can start but that is not the right way.
I will work on a PR to remove the altname after we do a rename this way we will be able to move the interface back to is original name on the sriov-cni delete/detach part.
- blocks
-
OCPBUGS-38163 Error on deleting a pod using sriov netdevice
- Closed
- is blocked by
-
RHEL-5988 udev adds an unwanted altname to a renamed netdevice
- Closed
- is cloned by
-
OCPBUGS-38163 Error on deleting a pod using sriov netdevice
- Closed
- links to
-
RHBA-2024:5421 OpenShift Container Platform 4.16.z extras update