You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Red Hat Satellite (6.13) ships some default templates to register the InsightsClient during Kickstart deployments of VMs.
It runs a simple insights-client --register as last step of the deployment, the registration works, but the timer (unit file) is not activated and fails with "No loaded timers found"
I assume that this is an issue of the chrooted environment of the kickstart installation, where the systemctl commands do not work properly in the installation-context.
enabling the timer manually in a second kickstart step, works - since the "enable" command works also in the kickstarter environment.
insights-client --register
systemctl enable insights-client.timer
Maybe a check for chroot, in the systemctl wrapper could be a solution.
Hello,
Red Hat Satellite (6.13) ships some default templates to register the InsightsClient during Kickstart deployments of VMs.
It runs a simple insights-client --register as last step of the deployment, the registration works, but the timer (unit file) is not activated and fails with "No loaded timers found"
I assume that this is an issue of the chrooted environment of the kickstart installation, where the systemctl commands do not work properly in the installation-context.
enabling the timer manually in a second kickstart step, works - since the "enable" command works also in the kickstarter environment.
insights-client --register
systemctl enable insights-client.timer
Maybe a check for chroot, in the systemctl wrapper could be a solution.
insights-core/insights/client/schedule.py
Line 56 in 13592d9
Please let me know if this should be fixed in the RH Satellite templates instead.
Best Klaus
The text was updated successfully, but these errors were encountered: