Skip to content

Bpf load failed #951

@hzxuzhonghu

Description

@hzxuzhonghu

Met this error when i updated the kmesh image

k logs kmesh-527r9   -n kmesh-system
none on /sys/fs/bpf type bpf (rw,relatime)
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --bpf-fs-path=\"/sys/fs/bpf\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --cgroup2-path=\"/mnt/kmesh_cgroup2\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --cni-etc-path=\"/etc/cni/net.d\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --conflist-name=\"\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --enable-accesslog=\"false\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --enable-bpf-log=\"true\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --enable-bypass=\"false\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --enable-mda=\"false\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --enable-secret-manager=\"false\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --help=\"false\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --mode=\"dual-engine\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="FLAG: --plugin-cni-chained=\"true\"" subsys=manager
time="2024-10-14T07:08:05Z" level=info msg="oldGitVersion: 2166136261 newGitVersion: 2166136261" subsys=restart
time="2024-10-14T07:08:05Z" level=info msg="kmesh start with Restart, load bpf maps and prog from last" subsys=restart
Error: bpf Load failed: field OuterMap: map outer_map: use pinned map outer_map: MaxEntries: 8192 changed to 1048576: map spec is incompatible with existing map
time="2024-10-14T07:08:05Z" level=error msg="bpf Load failed: field OuterMap: map outer_map: use pinned map outer_map: MaxEntries: 8192 changed to 1048576: map spec is incompatible with existing map" subsys=main
time="2024-10-14T07:08:06Z" level=info msg="start remove CNI config" subsys="cni installer"
time="2024-10-14T07:08:06Z" level=info msg="remove CNI config done" subsys="cni installer"
kmesh exit

It bacomes worse even when i uninstall kmesh and reinstall it, the kmesh daemon still failed to start with same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions