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.
|
// 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 {
|
if err := image.Unpack(ctx, c.config.ContainerdConfig.Snapshotter); err != nil {
|
||||||
glog.Warningf("Failed to unpack image %q: %v", imageRef, err)
|
glog.Warningf("Failed to unpack image %q: %v", imageRef, err)
|
||||||
// Do not fail image pulling. Unpack will be retried before container creation.
|
// Do not fail image pulling. Unpack will be retried before container creation.
|
||||||
|
@ -50,7 +50,7 @@ write_files:
|
|||||||
Delegate=yes
|
Delegate=yes
|
||||||
KillMode=process
|
KillMode=process
|
||||||
ExecStartPre=/sbin/modprobe overlay
|
ExecStartPre=/sbin/modprobe overlay
|
||||||
ExecStart=/home/cri-containerd/usr/local/bin/containerd
|
ExecStart=/home/cri-containerd/usr/local/bin/containerd --log-level debug
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=cri-containerd.target
|
WantedBy=cri-containerd.target
|
||||||
|
Loading…
Reference in New Issue
Block a user