-
Notifications
You must be signed in to change notification settings - Fork 324
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
container create failed: sd-bus call: Cannot set property CPUQuotaPeriodUSec, or unknown propert #1445
Comments
The error from crun : if (UNLIKELY (sd_err < 0))
{
if (reset_failed_unit (bus, scope) == 0)
{
sd_bus_error_free (&error);
if (reply)
sd_bus_message_unref (reply);
error = SD_BUS_ERROR_NULL;
reply = NULL;
sd_err = sd_bus_call (bus, m, 0, &error, &reply);
}
if (sd_err < 0)
{
ret = crun_make_error (err, sd_bus_error_get_errno (&error), "sd-bus call: %s", error.message ?: error.name);
goto exit;
}
} |
crun --version
crun version 1.8.3
commit: 59f2beb7efb0d35611d5818fd0311883676f6f7e
rundir: /run/user/0/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL |
please update your version of systemd, crun doesn't not have the same check in place as runc for the systemd version |
The confusing part for me is that runc has a prompt for the systemd version, but it still executes successfully. On the other hand, crun does not have a corresponding prompt for the systemd version. Can crun use similar logic as runc? |
I met the same issue, how to solve it? |
Abandoning crun and embracing runc. Runc doesn't have this issue. Alternatively, upgrading systemd would require upgrading the operating system. However, I have chosen runc. |
if anyone cares enough to send a patch, we can consider that.
systemd 242 was released 5 years ago. What system are you using? |
In my case, we run debian10 mostly. Fortunately, buster-backports includes newer systemd so we can continue with crun. ps. thanks for the excellent zombie reporting, we discovered a bad probe script from its output. |
crun start container failed
kubectl describe pods -n default my-pod 126: Warning Failed 5m4s (x12 over 7m16s) kubelet Error: container create failed: sd-bus call: Cannot set property CPUQuotaPeriodUSec, or unknown propert y.: Read-only file system
but runc start success
The text was updated successfully, but these errors were encountered: