Skip to content
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

ActionSelector cache warning in load-balancer demo #2

Open
paaguti opened this issue Feb 22, 2023 · 0 comments
Open

ActionSelector cache warning in load-balancer demo #2

paaguti opened this issue Feb 22, 2023 · 0 comments

Comments

@paaguti
Copy link

paaguti commented Feb 22, 2023

I was trying the load balancer example on a Ubuntu 22.04 VM using the Docker pulled from Docker hub. When setting up the load balancer I get a ton of messages:

root@f56243c6f50b:/nikss# make compile
Setting XDP2TC 'meta' mode by default.
root@f56243c6f50b:/nikss# make deploy
libbpf: elf: skipping unrecognized data section(8) .maps.clone_session_tbl_inner
libbpf: elf: skipping unrecognized data section(9) .maps.clone_session_tbl
libbpf: elf: skipping unrecognized data section(10) .maps.multicast_grp_tbl_inner
libbpf: elf: skipping unrecognized data section(11) .maps.multicast_grp_tbl
libbpf: elf: skipping unrecognized data section(12) .maps.DemoIngress_as_groups_inner
libbpf: elf: skipping unrecognized data section(13) .maps.DemoIngress_as_groups
libbpf: elf: skipping unrecognized data section(14) .maps.DemoIngress_as_defaultActionGroup
libbpf: elf: skipping unrecognized data section(15) .maps.DemoIngress_as_actions
libbpf: elf: skipping unrecognized data section(16) .maps.DemoIngress_qos_classifier
libbpf: elf: skipping unrecognized data section(17) .maps.DemoIngress_qos_classifier_defaultAction
libbpf: elf: skipping unrecognized data section(18) .maps.DemoIngress_tbl_arp_ipv4
libbpf: elf: skipping unrecognized data section(19) .maps.DemoIngress_tbl_arp_ipv4_defaultAction
libbpf: elf: skipping unrecognized data section(20) .maps.DemoIngress_tbl_routing
libbpf: elf: skipping unrecognized data section(21) .maps.DemoIngress_meter
libbpf: elf: skipping unrecognized data section(22) .maps.hdr_md_cpumap
libbpf: elf: skipping unrecognized data section(23) .maps.crc_lookup_tbl
libbpf: elf: skipping unrecognized data section(24) .rodata.cst16
libbpf: elf: skipping unrecognized data section(39) .eh_frame
libbpf: elf: skipping relo section(40) .rel.eh_frame for section(39) .eh_frame
libbpf: Error in bpf_create_map_xattr(multicast_grp_tbl):ERROR: strerror_r(-524)=22(-524). Retrying without BTF.
libbpf: Error in bpf_create_map_xattr(clone_session_tbl):ERROR: strerror_r(-524)=22(-524). Retrying without BTF.
libbpf: Error in bpf_create_map_xattr(DemoIngress_as_groups):ERROR: strerror_r(-524)=22(-524). Retrying without BTF.
Pipeline id 1 successfully loaded!
Adding ports to switch...
libbpf: Kernel error message: Underlying driver does not support XDP in native mode
XDP native mode not supported by driver, retrying with generic SKB mode
skipping empty egress program...
{
    "name": "psa_recirc",
    "port_id": 2
}skipping empty egress program...
{
    "name": "eth0",
    "port_id": 3
}skipping empty egress program...
{
    "name": "eth1",
    "port_id": 4
}skipping empty egress program...
{
    "name": "eth2",
    "port_id": 5
}Ports successfully added
Configuring routing rules...
+ nikss-ctl action-selector add-member pipe 1 DemoIngress_as action name DemoIngress_forward data 4 0a:58:38:f6:3d:44 aa:21:11:46:cf:28
warning: couldn't find ActionSelector cache: No such file or directory
{
    "DemoIngress_as": {
        "added_member_ref": 1
    }
}+ nikss-ctl action-selector add-member pipe 1 DemoIngress_as action name DemoIngress_forward data 5 2a:39:88:23:53:fb 4e:5b:9d:77:08:e7
warning: couldn't find ActionSelector cache: No such file or directory
{
    "DemoIngress_as": {
        "added_member_ref": 2
    }
}+ nikss-ctl action-selector add-member pipe 1 DemoIngress_as action name DemoIngress_forward data 3 aa:df:00:74:cf:ff be:dc:7c:95:ad:1b
warning: couldn't find ActionSelector cache: No such file or directory
{
    "DemoIngress_as": {
        "added_member_ref": 3
    }
}+ nikss-ctl table add pipe 1 DemoIngress_tbl_routing ref key 17.0.0.1/32 data 1
+ nikss-ctl table add pipe 1 DemoIngress_tbl_routing ref key 17.0.0.2/32 data 2
+ nikss-ctl table add pipe 1 DemoIngress_tbl_routing ref key 10.0.0.1/24 data 3
+ nikss-ctl table add pipe 1 DemoIngress_tbl_arp_ipv4 action name DemoIngress_send_arp_reply key 4 1 17.0.0.1/24 data 0a:58:38:f6:3d:44
+ nikss-ctl table add pipe 1 DemoIngress_tbl_arp_ipv4 action name DemoIngress_send_arp_reply key 5 1 17.0.0.2/24 data 2a:39:88:23:53:fb
+ nikss-ctl table add pipe 1 DemoIngress_tbl_arp_ipv4 action name DemoIngress_send_arp_reply key 3 1 10.0.0.1/24 data 2a:39:88:23:53:fb
+ echo 'Routing rules inserted successfully!'
Routing rules inserted successfully!
Done

I'm following the script as good as I can and I'm wondering why I'm getting all these errors. For the rest, load balancing seems to be taking place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant