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
linux: fix runtime-root propagation #2182
Conversation
daemon_config_test.go
Outdated
) | ||
|
||
// the following nolint is for shutting up gometalinter on non-linux. | ||
// nolint: unused |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leave it in daemon_config_linux_test.go
instead for now?
daemon_config_test.go
Outdated
buf = bytes.NewBuffer(nil) | ||
) | ||
|
||
tempDir, err := ioutil.TempDir("", "containerd-test-new-daemon-with-config") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This don't get cleaned up if this functions fails. Add a conditional defer on err != nil
?
faf2781 fixed the propagation for ShimRemote but ShimLocal was not fixed in the commit. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
updated |
this failure on travis seems unrelated (cc @Random-Liu ) https://travis-ci.org/containerd/containerd/jobs/349152244
|
@AkihiroSuda I saw this once. Sometimes image pulling fails when an image is being concurrently pulled. This seems to be a race condition in containerd. See #2151 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
#2173 fixed the propagation of
--runtime-root
flag forShimRemote
butShimLocal
was not fixed in the commit.This PR also adds integration test suite for
config.toml
.Signed-off-by: Akihiro Suda suda.akihiro@lab.ntt.co.jp