Fixed
Details
Assignee
UnassignedUnassignedReporter
Daniel LukeDaniel LukePriority
Low
Details
Details
Assignee
Unassigned
UnassignedReporter
Daniel Luke
Daniel LukePriority
PagerDuty
PagerDuty
PagerDuty
Created June 14, 2023 at 9:03 PM
Updated October 10, 2023 at 2:53 PM
Resolved October 10, 2023 at 1:52 PM
I upgraded to 31.0.9 today from a 31.0.8 install running on Linode Kubernetes Engine.
core was unable to ping - logs showed:
2023-06-14 20:08:35,388 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,388 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,388 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,389 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,389 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,389 ERROR [Main] o.o.n.i.j.Jni6Pinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,389 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,390 ERROR [Main] o.o.n.i.j.JniPinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,390 ERROR [Main] o.o.n.i.j.Jni6Pinger: Permission error received while attempting to open ICMP socket. See https://docs.opennms.com/ for information on configuring ICMP for non-root. 2023-06-14 20:08:35,391 WARN [Main] o.o.n.i.j.JnaIcmpMessenger: Unable to initialize JNA ICMP messenger
After prompting in chat, I was able to get things working again by updating my k8s yaml to add the ‘safe’ sysctl net.ipv4.ping_group_range:
spec: securityContext: sysctls: - name: net.ipv4.ping_group_range - value: "10001 10001"
I was suprised to have to do this for a patch release since 31.0.8 worked without that setting.