Bug 1852593
Summary: | EgressRouter: error in getting result from AddNetwork: CNI request failed with status 400 | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Weibin Liang <weliang> | |
Component: | Networking | Assignee: | Alexander Constantinescu <aconstan> | |
Networking sub component: | openshift-sdn | QA Contact: | Weibin Liang <weliang> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | unspecified | CC: | aconstan, anbhat, anusaxen, bbennett, danw, xtian | |
Version: | 4.6 | |||
Target Milestone: | --- | |||
Target Release: | 4.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1882502 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 16:10:31 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: | 1882502 |
Description
Weibin Liang
2020-06-30 19:22:48 UTC
Tried above reproducer on ovn-kubernetes and init container goes into CrashLoopBackoff. Can't find a reason in the logs. Bug 1852593: Add netns mount #696 https://github.com/openshift/cluster-network-operator/pull/696 need to mount /run/netns HostToContainer Follow same above steps,still get "unknown FS magic" error message: [weliang@weliang FILE]$ oc describe pod egress-redirect-pod Warning FailedCreatePodSandBox 8s kubelet, ip-10-0-196-223.us-east-2.compute.internal Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_egress-redirect-pod_test_fc087f0a-cfc1-4d27-9630-ed635db013a4_0(b04276353d55ba1c51b26e9d7521204fff09c7d8cd7f86017b398900289666dc): Multus: [test/egress-redirect-pod]: error adding container to network "openshift-sdn": delegateAdd: error invoking confAdd - "openshift-sdn": error in getting result from AddNetwork: CNI request failed with status 400: 'could not open netns "/var/run/netns/1e4fbf1a-dd6e-443d-823a-191ea2007a6f": unknown FS magic on "/var/run/netns/1e4fbf1a-dd6e-443d-823a-191ea2007a6f": 1021994 ' [weliang@weliang FILE]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-07-14-092216 True False 72m Cluster version is 4.6.0-0.nightly-2020-07-14-092216 [weliang@weliang FILE]$ Tested and verified in 4.6.0-0.nightly-2020-09-18-071428 oc describe pod egress-redirect-pod will not show error log as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1852593#c5 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196 |