Merge pull request #365 from Random-Liu/random-fix
Fix a log line and also set containerd log level to debug in node e2e.
This commit is contained in:
commit
64c719622a
@ -107,7 +107,7 @@ func (c *criContainerdService) PullImage(ctx context.Context, r *runtime.PullIma
|
||||
}
|
||||
|
||||
// Do best effort unpack.
|
||||
glog.V(4).Info("Unpack image %q", imageRef)
|
||||
glog.V(4).Infof("Unpack image %q", imageRef)
|
||||
if err := image.Unpack(ctx, c.config.ContainerdConfig.Snapshotter); err != nil {
|
||||
glog.Warningf("Failed to unpack image %q: %v", imageRef, err)
|
||||
// Do not fail image pulling. Unpack will be retried before container creation.
|
||||
|
@ -50,7 +50,7 @@ write_files:
|
||||
Delegate=yes
|
||||
KillMode=process
|
||||
ExecStartPre=/sbin/modprobe overlay
|
||||
ExecStart=/home/cri-containerd/usr/local/bin/containerd
|
||||
ExecStart=/home/cri-containerd/usr/local/bin/containerd --log-level debug
|
||||
|
||||
[Install]
|
||||
WantedBy=cri-containerd.target
|
||||
|
Loading…
Reference in New Issue
Block a user