Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer not activated in kickstart environment (default Red Hat Satellite template) #3862

Open
rembart opened this issue Jul 28, 2023 · 0 comments

Comments

@rembart
Copy link

rembart commented Jul 28, 2023

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.

def __init__(self):

Please let me know if this should be fixed in the RH Satellite templates instead.

Best Klaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant