profile
viewpoint

Ask questionserror messages throws in containerd due to get snapshot fs failed

<!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.

If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.


BUG REPORT INFORMATION

Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST -->

Description

<!-- error messages throws in containerd due to get snapshot fs failed-->

Steps to reproduce the issue:

  1. install containerd on ubuntu
  2. start the service

Describe the results you received:

See the error logs below:

Jul 12 03:25:41 hchenxa-3 containerd[21095]: time="2018-07-12T03:25:41Z" level=error msg="Failed to get usage for snapshot "extract-440725399-7oAi sha256:974937c83986779d5d6679db432e138f73200317b453cfb142562f8e7598a345"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/62/fs: no such file or directory"
Jul 12 03:25:41 hchenxa-3 containerd[21095]: time="2018-07-12T03:25:41Z" level=error msg="Failed to get usage for snapshot "extract-776746918-BB_U sha256:0a555ec180cd46bad3337f62755b77c2eb4e88355d6aca09311f799edb310216"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/48/fs: no such file or directory"
Jul 12 03:25:51 hchenxa-3 containerd[21095]: time="2018-07-12T03:25:51Z" level=error msg="Failed to get usage for snapshot "extract-440725399-7oAi sha256:974937c83986779d5d6679db432e138f73200317b453cfb142562f8e7598a345"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/62/fs: no such file or directory"
Jul 12 03:25:51 hchenxa-3 containerd[21095]: time="2018-07-12T03:25:51Z" level=error msg="Failed to get usage for snapshot "extract-776746918-BB_U sha256:0a555ec180cd46bad3337f62755b77c2eb4e88355d6aca09311f799edb310216"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/48/fs: no such file or directory"
Jul 12 03:26:01 hchenxa-3 containerd[21095]: time="2018-07-12T03:26:01Z" level=error msg="Failed to get usage for snapshot "extract-440725399-7oAi sha256:974937c83986779d5d6679db432e138f73200317b453cfb142562f8e7598a345"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/62/fs: no such file or directory"
Jul 12 03:26:01 hchenxa-3 containerd[21095]: time="2018-07-12T03:26:01Z" level=error msg="Failed to get usage for snapshot "extract-776746918-BB_U sha256:0a555ec180cd46bad3337f62755b77c2eb4e88355d6aca09311f799edb310216"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/48/fs: no such file or directory"
Jul 12 03:26:11 hchenxa-3 containerd[21095]: time="2018-07-12T03:26:11Z" level=error msg="Failed to get usage for snapshot "extract-440725399-7oAi sha256:974937c83986779d5d6679db432e138f73200317b453cfb142562f8e7598a345"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/62/fs: no such file or directory"
Jul 12 03:26:11 hchenxa-3 containerd[21095]: time="2018-07-12T03:26:11Z" level=error msg="Failed to get usage for snapshot "extract-776746918-BB_U sha256:0a555ec180cd46bad3337f62755b77c2eb4e88355d6aca09311f799edb310216"" error="lstat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/48/fs: no such file or directory"

I seems the issue related to OS, I was using ubuntu 16.04.1 LTS and the kernel was 4.4.0-36.

Describe the results you expected:

Output of containerd --version:

root@hchenxa-1:~# containerd --version
containerd github.com/containerd/containerd v1.1.0 209a7fc3e4a32ef71a8c7b50c68fc8398415badf```
containerd/containerd

Answer questions crosbymichael

Going to close this as it's old now, if you still have or find such an problem, please open a new issue.

useful!
source:https://uonfu.com/
Github User Rank List