Skip to content

pcn-iptables/pxn-iptables-init-xdp[BUG] #344

@liuuwqia

Description

@liuuwqia

##ubuntu20.04/kernel 5.4

##polycubectl version
polycubectl:
version: v0.9.0+ [git: (branch/commit): master/b7758768-dirty]
polycubed:
version: v0.9.0+ [git: (branch/commit): master/b7758768-dirty]

description:
I'm using the pcn-iptabls service, using the pcn-iptables init-xdp mode init, when I init (pcn-iptables init-xdp).I see from the log that there is the following problem, I wonder if it will affect?

[2020-10-19 15:55:35.634] [polycubed] [debug] XDP program compileed
Oct 19 15:55:36 newblackbox2 polycubed[48188]: [2020-10-19 15:55:36.246] [polycubed] [debug] XDP program compileed
Oct 19 15:55:36 newblackbox2 polycubed[48188]: /virtual/main.c:541:1: error: table already exists
Oct 19 15:55:36 newblackbox2 polycubed[48188]: BPF_TABLE_SHARED("percpu_array", int, u64, pkts_acceptestablished_Output, 1);
Oct 19 15:55:36 newblackbox2 polycubed[48188]: ^
Oct 19 15:55:36 newblackbox2 polycubed[48188]: /virtual/include/bcc/helpers.h:171:69: note: expanded from macro 'BPF_TABLE_SHARED'
Oct 19 15:55:36 newblackbox2 polycubed[48188]: BPF_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries);
Oct 19 15:55:36 newblackbox2 polycubed[48188]: ^
Oct 19 15:55:36 newblackbox2 polycubed[48188]: /virtual/main.c:542:1: error: table already exists
Oct 19 15:55:36 newblackbox2 polycubed[48188]: BPF_TABLE_SHARED("percpu_array", int, u64, bytes_acceptestablished_Output, 1);
Oct 19 15:55:36 newblackbox2 polycubed[48188]: ^
Oct 19 15:55:36 newblackbox2 polycubed[48188]: /virtual/include/bcc/helpers.h:171:69: note: expanded from macro 'BPF_TABLE_SHARED'
Oct 19 15:55:36 newblackbox2 polycubed[48188]: BPF_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries);
Oct 19 15:55:36 newblackbox2 polycubed[48188]: ^
Oct 19 15:55:36 newblackbox2 polycubed[48188]: 2 errors generated.
Oct 19 15:55:36 newblackbox2 polycubed[48188]: [2020-10-19 15:55:36.517] [Iptables] [pcn-iptables] [error] load err: failed to init ebpf program: Unable to initialize BPF program
Oct 19 15:55:37 newblackbox2 polycubed[48188]: [2020-10-19 15:55:37.003] [polycubed] [debug] XDP program compileed
Oct 19 15:55:37 newblackbox2 polycubed[48188]: [2020-10-19 15:55:37.471] [polycubed] [debug] XDP program compileed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions