Skip to content

Latest image of retis throwing "failed to attach raw tracepoint" errors #560

@joseorpa

Description

@joseorpa

Hi, team!

I have been testing the latest image in quay.io/retis/retis, and the same command that worked in v1.5.2 are not working with it.

sh-5.1# /var/tmp/retis_in_container.sh collect -o events.json --allow-system-changes --ovs-track --stack --probe-stack --filter-packet 'tcp port 8080 or tcp port 8081'
Collector(s) started: nft, ovs, skb-tracking, ns, skb, skb-drop, ct, dev
L2+L3 packet filter(s) loaded
No probe(s) given: using tp:skb:consume_skb, tp:skb:kfree_skb
WARN  libbpf: prog 'probe_raw_tracepoint': failed to attach to raw tracepoint 'kfree_skb': Invalid argument
Error: failed to attach raw tracepoint

or:

sh-5.1# /var/tmp/retis_in_container.sh collect -o events.json --allow-system-changes --ovs-track --stack --filter-packet 'tcp port 8080 or tcp port 8081'
Collector(s) started: nft, skb, ct, dev, skb-tracking, ns, skb-drop, ovs
L2+L3 packet filter(s) loaded
No probe(s) given: using tp:net:netif_receive_skb, tp:net:net_dev_start_xmit
WARN  libbpf: prog 'probe_raw_tracepoint': failed to attach to raw tracepoint 'kfree_skb': Invalid argument
Error: failed to attach raw tracepoint

using the previous image it works:

sh-5.1# export RETIS_TAG=v1.5.2
sh-5.1# /var/tmp/retis_in_container.sh collect -o events.json --allow-system-changes --ovs-track --stack --probe-stack --filter-packet 'tcp port 8080 or tcp port 8081'
Collector(s) started: nft, ovs, skb-drop, skb, skb-tracking, ct
L2+L3 packet filter(s) loaded
15 probe(s) loaded

any hint on what could be the cause?

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