Open Abhimanyu9988 opened 9 months ago
Hi @Abhimanyu9988 !
It seems that the scripts might not be able to detect the ROSA distro, so are unable to download kernel headers. Distro detection determines whether the scripts use apt
or yum
to install kernel headers. This is done in kernel_headers.sh.
To add support:
/etc/debian_version
, /etc/os-release
, and /etc/system-release
on those nodes (not all of those might appear). These values will be used to detect the distro.It should be a 2-3 line patch, happy to review it.
Describe the issue you're reporting
Description
On ROSA (4.14.12) with AMI rhcos-414.92.202310170514-0-x86_64-34850061-abaf-402d-92df-94325c9e947f, We are getting unsupported_distro ERROR
Steps to Reproduce
I installed Kernel collector on ROSA (OpenShift) after creating a service account
And providing kernel-sa privilege access to satisfy the need for
--privileged, --pid host and --network host
I ran the command ->
oc adm policy add-scc-to-user privileged system:serviceaccount:appdynamics:kernel-sa
Expected Result
I wished to have my Kernel collector pod start up fine.
Actual Result
I get the ERROR
eBPF collector version 0.10.0