IBM Support

QRadar SOAR: Unable to start the k3s.service after App Host installation

Troubleshooting


Problem

After installing the App Host on RHEL 8, the k3s.service fails to start

Cause

The service nm-cloud-setup.service is running which is preventing k3s.service from starting

Environment

RHEL 8
App Host 1.15.x .run file

Diagnosing The Problem

During the install of AppHost the error, POSTIN scriptlet in rpm package k3s can been seen
Installing k3s...
Error in POSTIN scriptlet in rpm package k3s

Installed:
  k3s-v1.25.14+k3s1-1.x86_64                               k3s-selinux-0.2-1.el7_8.noarch

Installing apphost...

Installed:
  apphost-1.15.0.696-1.noarch                             resilient-ibm-jre-11.0-20.1.x86_64

Performing post-installation setup...
Installation complete
[user@histname ~]$ sudo systemctl status k3s
● k3s.service - Lightweight Kubernetes
   Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: https://k3s.io
Attempting to start the k3s.service fails, stating to run journalctl -xe for information
Output of sudo journalctl -xe
Jun 11 14:22:39 systemd[1]: Starting Lightweight Kubernetes...
-- Subject: Unit k3s.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- Unit k3s.service has begun starting up.
Jun 11 14:22:39 sh[19019]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Jun 11 14:22:39 systemd[1]: k3s.service: Control process exited, code=exited status=1
Jun 11 14:22:39 systemd[1]: k3s.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit k3s.service has entered the 'failed' state with result 'exit-code'.
Jun 11 14:22:39 systemd[1]: Failed to start Lightweight Kubernetes.
-- Subject: Unit k3s.service has failed

Resolving The Problem

$ sudo systemctl disable nm-cloud-setup.service nm-cloud-setup.timer
$ sudo systemctl restart k3s

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z0000001jTpAAI","label":"Integrations-\u003EAppHost"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
21 June 2024

UID

ibm17157123