-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Failed to get unit file state for nm-cloud-setup.service #4911
Comments
For the record, the check is there to ensure that the |
But if the |
No, it doesn't. It will log a message about not finding it, but the shell command will exit with a 0 return code due to the use of the |
Ok, I'll double check on that because I though it was the only error preventing k3s to start, but I'm maybe wrong. Thanks for the answer 👍 |
I got the same response. Running on Raspberry Pi 4 with Bullseye 64bit. |
If k3s is failing and you see this message in your logs, look further - this is not the cause of your problem. |
Environmental Info:
k3s version v1.22.5+k3s1 (405bf79)
go version go1.16.10
Node(s) CPU architecture, OS, and Version:
Linux master-public-1 5.11.0-1022-oracle #23~20.04.1-Ubuntu SMP Fri Nov 12 15:45:47 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
OCI Ampere VM.Standard.A1.Flex with Ubuntu 20
Describe the bug:
During fresh install on an fresh system an error "Failed to get unit file state for nm-cloud-setup.service" occured after installation.
Steps To Reproduce:
curl -sfL https://get.k3s.io | sh -
Expected behavior:
k3s is installed
Actual behavior:
"Failed to get unit file state for nm-cloud-setup.service: No such file or directory" message during start after fresh install.
This file is missing, but exists in /etc/systemd/system/k3s.service, line 26:
ExecStartPre=/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
Also it may be helpful - it is hanging about 3 minutes before fails.
Additional context / logs:
Backporting
The text was updated successfully, but these errors were encountered: