-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPP container fails to start #695
Comments
Hi @chenlein,
Looks like a pretty old kernel version. Which OS is the system running on? |
It seems like there is an issue in the way we handle VPP failure (should be fixed by #696).
and mounting |
@onong Yes, my kernel version is quite old. I am using the operating system "Kylin Linux Advanced Server V10 (Lance)". I learned from the "System requirements" that the kernel requirement is "Linux kernel 3.10 or later with required dependencies." Will VPP not work with the kernel version I am using? |
@chenlein, the "System requirements" part is from Calico really and theoretically it holds true for Calico/VPP too and where it doesn't we call it out. The "Linux kernel 3.10" is one such which we need to call out in our docs I guess. VPP is constantly evolving and may not work with very old kernels. Do you see a coredump by any chance? Refer to post from @sknat . Also, could you try and grab the vpp logs if possible. Immediately after the VPP pod starts(and before it terminates), you could execute the following:
Lastly, #696 just fixes a bug in the way we handle vpp closure while exiting/terminating so no, it wont solve your problem. |
@onong Thank you for your help. I will try to get the coredump and vppctl sh log information tomorrow. I will update here once I have it. |
[root@master-0 vpp]# kubectl exec -it -n calico-vpp-dataplane calico-vpp-node-kwbf9 -c vpp -- vppctl sh log
2024/04/27 05:31:21:943 notice plugin/load Loaded plugin: abf_plugin.so (Access Control List (ACL) Based Forwarding)
2024/04/27 05:31:21:945 notice plugin/load Loaded plugin: acl_plugin.so (Access Control Lists (ACL))
2024/04/27 05:31:21:945 notice plugin/load Loaded plugin: adl_plugin.so (Allow/deny list plugin)
2024/04/27 05:31:21:946 notice plugin/load Loaded plugin: af_packet_plugin.so (af-packet)
2024/04/27 05:31:21:946 notice plugin/load Loaded plugin: af_xdp_plugin.so (AF_XDP Device Plugin)
2024/04/27 05:31:21:946 notice plugin/load Loaded plugin: arping_plugin.so (Arping (arping))
2024/04/27 05:31:21:947 notice plugin/load Loaded plugin: avf_plugin.so (Intel Adaptive Virtual Function (AVF) Device Driver)
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: bpf_trace_filter_plugin.so (BPF Trace Filter Plugin)
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: bufmon_plugin.so (Buffers monitoring plugin)
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: builtinurl_plugin.so (vpp built-in URL support)
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: capo_plugin.so (Calico Policy)
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: cdp_plugin.so (Cisco Discovery Protocol (CDP))
2024/04/27 05:31:21:948 notice plugin/load Loaded plugin: cnat_plugin.so (CNat Translate)
2024/04/27 05:31:21:953 notice plugin/load Loaded plugin: crypto_ipsecmb_plugin.so (Intel IPSEC Multi-buffer Crypto Engine)
2024/04/27 05:31:21:953 notice plugin/load Loaded plugin: crypto_native_plugin.so (Intel IA32 Software Crypto Engine)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: crypto_openssl_plugin.so (OpenSSL Crypto Engine)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: crypto_sw_scheduler_plugin.so (SW Scheduler Crypto Async Engine plugin)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: ct6_plugin.so (IPv6 Connection Tracker)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: det44_plugin.so (Deterministic NAT (CGN))
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: dhcp_plugin.so (Dynamic Host Configuration Protocol (DHCP))
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: dispatch_trace_plugin.so (Dispatch Trace)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: dma_intel_plugin.so (Intel DSA Backend)
2024/04/27 05:31:21:954 notice plugin/load Loaded plugin: dns_plugin.so (Simple DNS name resolver)
2024/04/27 05:31:21:961 notice plugin/load Plugin disabled: dpdk_plugin.so
2024/04/27 05:31:21:961 notice plugin/load Loaded plugin: dslite_plugin.so (Dual-Stack Lite)
2024/04/27 05:31:21:961 notice plugin/load Plugin disabled (default): fateshare_plugin.so
2024/04/27 05:31:21:961 notice plugin/load Loaded plugin: flowprobe_plugin.so (Flow per Packet)
2024/04/27 05:31:21:961 notice plugin/load Loaded plugin: geneve_plugin.so (GENEVE Tunnels)
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: gre_plugin.so (Generic Routing Encapsulation (GRE) plugin)
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: gtpu_plugin.so (GPRS Tunnelling Protocol, User Data (GTPv1-U))
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: hs_apps_plugin.so (Host Stack Applications)
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: hsi_plugin.so (Host Stack Intercept (HSI))
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: http_plugin.so (Hypertext Transfer Protocol (HTTP))
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: http_static_plugin.so (HTTP Static Server)
2024/04/27 05:31:21:962 notice plugin/load Plugin disabled (default): idpf_plugin.so
2024/04/27 05:31:21:962 notice plugin/load Loaded plugin: igmp_plugin.so (Internet Group Management Protocol (IGMP))
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: ikev2_plugin.so (Internet Key Exchange (IKEv2) Protocol)
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: ila_plugin.so (Identifier Locator Addressing (ILA) for IPv6)
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: ioam_plugin.so (Inbound Operations, Administration, and Maintenance (OAM))
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: ip_session_redirect_plugin.so (IP session redirect)
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: l2tp_plugin.so (Layer 2 Tunneling Protocol v3 (L2TP))
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: l3xc_plugin.so (L3 Cross-Connect (L3XC))
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: lacp_plugin.so (Link Aggregation Control Protocol (LACP))
2024/04/27 05:31:21:963 notice plugin/load Loaded plugin: lb_plugin.so (Load Balancer (LB))
2024/04/27 05:31:21:963 notice plugin/load Plugin disabled (default): linux_cp_plugin.so
2024/04/27 05:31:21:964 notice plugin/load Plugin disabled (default): linux_cp_unittest_plugin.so
2024/04/27 05:31:21:964 notice plugin/load Plugin disabled (default): linux_nl_plugin.so
2024/04/27 05:31:21:964 notice plugin/load Loaded plugin: lisp_plugin.so (Locator ID Separation Protocol (LISP))
2024/04/27 05:31:21:964 notice plugin/load Plugin disabled (default): lisp_unittest_plugin.so
2024/04/27 05:31:21:964 notice plugin/load Loaded plugin: lldp_plugin.so (Link Layer Discovery Protocol (LLDP))
2024/04/27 05:31:21:964 notice plugin/load Loaded plugin: mactime_plugin.so (Time-based MAC Source Address Filter)
2024/04/27 05:31:21:964 notice plugin/load Loaded plugin: map_plugin.so (Mapping of Address and Port (MAP))
2024/04/27 05:31:21:964 notice plugin/load Loaded plugin: mdata_plugin.so (Buffer metadata change tracker.)
2024/04/27 05:31:21:965 notice plugin/load Loaded plugin: memif_plugin.so (Packet Memory Interface (memif) -- Experimental)
2024/04/27 05:31:21:965 notice plugin/load Loaded plugin: mss_clamp_plugin.so (TCP MSS clamping plugin)
2024/04/27 05:31:21:965 notice plugin/load Loaded plugin: nat44_ei_plugin.so (IPv4 Endpoint-Independent NAT (NAT44 EI))
2024/04/27 05:31:21:965 notice plugin/load Loaded plugin: nat64_plugin.so (NAT64)
2024/04/27 05:31:21:965 notice plugin/load Loaded plugin: nat66_plugin.so (NAT66)
2024/04/27 05:31:21:966 notice plugin/load Loaded plugin: nat_plugin.so (Network Address Translation (NAT))
2024/04/27 05:31:21:966 notice plugin/load Plugin disabled (default): npt66_plugin.so
2024/04/27 05:31:21:966 notice plugin/load Loaded plugin: nsh_plugin.so (Network Service Header (NSH))
2024/04/27 05:31:21:966 notice plugin/load Loaded plugin: nsim_plugin.so (Network Delay Simulator)
2024/04/27 05:31:21:966 notice plugin/load Plugin disabled (default): oddbuf_plugin.so
2024/04/27 05:31:21:966 notice plugin/load Loaded plugin: pbl_plugin.so (Port based balancer (PBL))
2024/04/27 05:31:21:967 notice plugin/load Loaded plugin: perfmon_plugin.so (Performance Monitor)
2024/04/27 05:31:21:967 notice plugin/load Plugin disabled: ping_plugin.so
2024/04/27 05:31:21:967 notice plugin/load Loaded plugin: pnat_plugin.so (Policy 1:1 NAT)
2024/04/27 05:31:21:967 notice plugin/load Loaded plugin: pppoe_plugin.so (PPP over Ethernet (PPPoE))
2024/04/27 05:31:21:967 notice plugin/load Loaded plugin: prom_plugin.so (Prometheus Stats Exporter)
2024/04/27 05:31:21:967 notice plugin/load Plugin disabled (default): quic_plugin.so
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: rdma_plugin.so (RDMA IBverbs Device Driver)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: srv6ad_plugin.so (Dynamic Segment Routing for IPv6 (SRv6) Proxy)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: srv6adflow_plugin.so (Dynamic Segment Routing for IPv6 (SRv6) Proxy)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: srv6am_plugin.so (Masquerading Segment Routing for IPv6 (SRv6) Proxy)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: srv6as_plugin.so (Static Segment Routing for IPv6 (SRv6) Proxy)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: srv6mobile_plugin.so (SRv6 GTP Endpoint Functions)
2024/04/27 05:31:21:968 notice plugin/load Loaded plugin: stn_plugin.so (VPP Steals the NIC (STN) for Container Integration)
2024/04/27 05:31:21:969 notice plugin/load Loaded plugin: svs_plugin.so (Source Virtual Routing and Forwarding (VRF) Select)
2024/04/27 05:31:21:969 notice plugin/load Loaded plugin: tlsopenssl_plugin.so (Transport Layer Security (TLS) Engine, OpenSSL Based)
2024/04/27 05:31:21:969 notice plugin/load Loaded plugin: tlspicotls_plugin.so (Transport Layer Security (TLS) Engine, Picotls Based)
2024/04/27 05:31:21:969 notice plugin/load Loaded plugin: tracedump_plugin.so (Streaming packet trace dump plugin)
2024/04/27 05:31:21:970 notice plugin/load Loaded plugin: tracenode_plugin.so (Tracing packet node)
2024/04/27 05:31:21:970 notice plugin/load Plugin disabled (default): unittest_plugin.so
2024/04/27 05:31:21:970 notice plugin/load Loaded plugin: urpf_plugin.so (Unicast Reverse Path Forwarding (uRPF))
2024/04/27 05:31:21:970 notice plugin/load Loaded plugin: vhost_plugin.so (Vhost-User)
2024/04/27 05:31:21:971 notice plugin/load Loaded plugin: vmxnet3_plugin.so (VMWare Vmxnet3 Device Driver)
2024/04/27 05:31:21:971 notice plugin/load Loaded plugin: vrrp_plugin.so (VRRP v3 (RFC 5798))
2024/04/27 05:31:21:971 notice plugin/load Loaded plugin: vxlan_plugin.so (VxLan Tunnels)
2024/04/27 05:31:21:971 notice plugin/load Loaded plugin: wireguard_plugin.so (Wireguard Protocol)
2024/04/27 05:31:22:114 warn buffer numa[1] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:22:696 warn buffer numa[2] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:24:390 warn buffer numa[3] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:26:717 warn buffer numa[4] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:29:625 warn buffer numa[5] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:33:186 warn buffer numa[6] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:37:415 warn buffer numa[7] falling back to non-hugepage backed buffer pool (vlib_physmem_shared_map_create: pmalloc_map_pages: Unable to lock pages: Cannot allocate memory)
2024/04/27 05:31:42:312 warn perfmon skipping source 'intel-uncore' - intel_uncore_init: no uncore units found
2024/04/27 05:31:42:319 warn perfmon skipping source 'intel-core' - intel_core_init: not a IA-32 CPU
2024/04/27 05:31:42:360 notice vat-plug/load Loaded plugin: acl_test_plugin.so
2024/04/27 05:31:42:360 notice vat-plug/load Loaded plugin: adl_test_plugin.so
2024/04/27 05:31:42:360 notice vat-plug/load Loaded plugin: af_xdp_test_plugin.so
2024/04/27 05:31:42:360 notice vat-plug/load Loaded plugin: arping_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: avf_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: builtinurl_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: capo_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: cdp_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: ct6_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: dhcp_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: dns_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: flowprobe_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: geneve_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: gtpu_test_plugin.so
2024/04/27 05:31:42:361 notice vat-plug/load Loaded plugin: http_static_test_plugin.so
2024/04/27 05:31:42:361 error vat-plug/load vat_plugin_register: idpf plugin not loaded...
2024/04/27 05:31:42:368 notice vat-plug/load Loaded plugin: ikev2_test_plugin.so
2024/04/27 05:31:42:368 notice vat-plug/load Loaded plugin: ioam_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: ip_session_redirect_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: l2tp_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: lacp_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: lb_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: lisp_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: lldp_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: mactime_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: mdata_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: memif_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: nsh_test_plugin.so
2024/04/27 05:31:42:369 notice vat-plug/load Loaded plugin: nsim_test_plugin.so
2024/04/27 05:31:42:369 error vat-plug/load vat_plugin_register: oddbuf plugin not loaded...
2024/04/27 05:31:42:376 notice vat-plug/load Loaded plugin: pppoe_test_plugin.so
2024/04/27 05:31:42:376 notice vat-plug/load Loaded plugin: rdma_test_plugin.so
2024/04/27 05:31:42:376 notice vat-plug/load Loaded plugin: stn_test_plugin.so
2024/04/27 05:31:42:376 notice vat-plug/load Loaded plugin: tlsopenssl_test_plugin.so
2024/04/27 05:31:42:376 notice vat-plug/load Loaded plugin: tracedump_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: tracenode_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vlib_vlibapi_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vmxnet3_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_arp_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_interface_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_ip6_nd_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_ip_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_ipsec_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_l2_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_session_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vnet_sr_mpls_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vpp_api_test_plugin.so
2024/04/27 05:31:42:377 notice vat-plug/load Loaded plugin: vrrp_test_plugin.so
[root@master-0 vpp]# ll /var/lib/vpp
total 0
|
Thanks for the logs @chenlein. Sorry I missed out the fact that you seem to be using bond interface (nm-bond). bond interfaces are not supported at the moment so thats probably the root cause :( Could you pls try it out with a normal interface to verify? |
@onong Sorry, I am unable to modify the network configuration of the current environment at will. If there is a chance in the future, I will try other testing environments. If there are any new situations, I will come here to update. For now, I will close the current issuer. Thank you again for your help! |
Environment
bare-metal with bond device
Calico BGP with None encapsulation
Issue description
VPP container fails to start
To Reproduce
vpp container logs:
Additional context
The text was updated successfully, but these errors were encountered: