Migrate to Type=notify#866
Conversation
|
Can you check |
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/5280867453 |
|
@jepio Does this work? |
|
It's better, but if you look at the git log you'll see that most historical commit messages have a summary line starting with: |
|
This resolves it @jepio |
|
@dongsupark Unsure why Kola tests fail |
sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/files/containerd.service
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/files/containerd.service
Outdated
Show resolved
Hide resolved
From a quick look, CI failed with 17 different failures. Those consist of 3 different types:
|
|
I think that would be it, yes |
|
This needs a rebase. The tests looked good, the failed devcontainer test just has problems because this PR is from another repo. |
|
You still need to rebase c462c41 onto current main, and push to |
|
Good? 01d8eda |
|
The commit message still says "app-emulation", that should be "app-containers" too |
Race condition arises when the containerd service unit assumes services are ready as soon as they start running, rather than when they can actually accept socket requests. To rectify this, changing the unit to Type=notify is required, utilizing the existing containerd support for sd_notify call after socket setup. In addition to this, the configuration is more aligned with upstream. https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=
|
Running Jenkins CI http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/1993/cldsv/ for cross-checking. |
|
Jenkins CI passed. A changelog file is missing here as well, like the other one. |
|
Added |
[containerd] Migrate to Type=notify in containerd.service
Race condition arises when the containerd service unit assumes services are ready as soon as they start running, rather than when they can actually accept socket requests. To rectify this, changing the unit to Type=notify is required, utilizing the existing containerd support for sd_notify call after socket setup.
References:
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/1993/cldsv/