Skip to content

Instantly share code, notes, and snippets.

@tixxdz
Created August 25, 2022 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tixxdz/534e66734f76c04160adaa1c0c6c9fe3 to your computer and use it in GitHub Desktop.
Save tixxdz/534e66734f76c04160adaa1c0c6c9fe3 to your computer and use it in GitHub Desktop.
tetragon_test_on_kernel_5.4_without_memory_pids_cgroup_controllers
ime="2022-08-25T09:13:17Z" level=info msg="BPF prog was loaded" label=tracepoint/sys_execve prog=bpf/objs/bpf_execve_event_v53.o
time="2022-08-25T09:13:17Z" level=info msg="Loaded BPF maps and events for sensor successfully" sensor=__main__
time="2022-08-25T09:13:17Z" level=info msg="Cgroup mode detection succeeded" CgroupMode="Unified mode (Cgroupv2)" Cgroupfs=/sys/fs/cgroup
time="2022-08-25T09:13:17Z" level=info msg="Cgroup BPF helpers will run in Cgroupv2 mode or fallback to raw Cgroup on errors" Cgroupfs=/sys/fs/cgroup
time="2022-08-25T09:13:17Z" level=debug msg="Cgroup available controllers" Cgroupfs=/sys/fs/cgroup cgroup.controllers="[cpuset cpu cpuacct freezer]"
time="2022-08-25T09:13:17Z" level=warning msg="Supported cgroup controller 'memory' is not active" Cgroupfs=/sys/fs/cgroup error="controller 'memory' is not active"
time="2022-08-25T09:13:17Z" level=warning msg="Supported cgroup controller 'pids' is not active" Cgroupfs=/sys/fs/cgroup error="controller 'pids' is not active"
time="2022-08-25T09:13:17Z" level=info msg="Cgroup Controller 'cpuset' discovered with HierarchyID=0 and HierarchyIndex=0" Cgroupfs=/sys/fs/cgroup
time="2022-08-25T09:13:17Z" level=warning msg="Failed to detect current Cgroupv2 active controller" Cgroupfs=/sys/fs/cgroup error="no active controllers from '/sys/fs/cgroup/system.slice/system-serial\\x2dgetty.slice/serial-getty@ttyS0.service/cgroup.controllers'"
time="2022-08-25T09:13:17Z" level=warning msg="Unable to find Cgroup migration path for pid=390" Cgroupfs=/sys/fs/cgroup error="could not validate Cgroupv2 hierarchy"
time="2022-08-25T09:13:17Z" level=warning msg="Detect deployment mode failed" Cgroupfs=/sys/fs/cgroup error="could not detect Cgroup migration path for pid=390"
time="2022-08-25T09:13:17Z" level=info msg="Deployment mode detection succeeded" Cgroupfs=/sys/fs/cgroup DeploymentMode=unknown
time="2022-08-25T09:13:17Z" level=warning msg="Tetragon own Cgroup ID is unknown, advanced Cgroups tracking will be disabled" confmap-update=tg_conf_map
time="2022-08-25T09:13:17Z" level=warning msg="Migrating Tetragon to same Cgroup failed, advanced Cgroup tracking will be disabled" error="could not detect Cgroup migration path for pid=390" observer=probe-cgroups
time="2022-08-25T09:13:17Z" level=info msg="Listening for events..."
time="2022-08-25T09:13:58Z" level=trace msg="process_exec: lookup container ID failed, cgroup.id is not being tracked in the cgroups tracking BPF map" bpf-map=tg_cgrps_tracking_map cgroup.id=4294967319 error="Unable to lookup element in map with file descriptor 20: no such file or directory" process.bin5
uid=0(root) gid=0(root) groups=0(root)
root@tetragon:/home/tixxdz/work/station/code/src/github/tixxdz/tetragon# time="2022-08-25T09:13:58Z" level=trace msg="process_exec: lookup container ID from current BPF cgroup name as cgroups tracking data is unavailable" cgroup.id=4294967319 process.binary=/usr/bin/id process.exec_id=Ojc2MzcxOTgyODYyMT5
time="2022-08-25T09:13:58Z" level=trace msg="process_exec: lookup container ID failed, cgroup name is not a container compatible ID" cgroup.id=4294967319 cgroup.name=system.slice process.binary=/usr/bin/id process.exec_id=Ojc2MzcxOTgyODYyMTE6NDA5
time="2022-08-25T09:13:58Z" level=trace msg="failed to get pod" container id=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment