Giter Club home page Giter Club logo

nikss-demo's People

Contributors

kmateuszssak avatar osinstom avatar tatry avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jgorczynski hpfmn

nikss-demo's Issues

ActionSelector cache warning in load-balancer demo

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.