what is fsHandler.go rootDiskErr and rootInodeErr error in minishift/openshift

1/9/2020

I see the below error messages in the minishift logs. The rootDiskErr and rootInodeErr error is from fsHandler.go. Is this error related to filedescriptor limits or this error indicates other issues. Could anyone explain about this error.

one similar issue can be found at this url. complete minishift logs can be found at this url.

error from minishift logs:

E0108 23:07:16.549830 5161 fsHandler.go:121] failed to collect filesystem stats - rootDiskErr: du command failed on /rootfs/var/lib/docker/overlay2/a09b3f23e1178c3234462141c1705d54081cdc3d5889a4e2f25858007dc555e4/diff with output stdout: , stderr: du: cannot access '/rootfs/var/lib/docker/overlay2/a09b3f23e1178c3234462141c1705d54081cdc3d5889a4e2f25858007dc555e4/diff': No such file or directory - exit status 1, rootInodeErr: cmd [ionice -c3 nice -n 19 find /rootfs/var/lib/docker/overlay2/a09b3f23e1178c3234462141c1705d54081cdc3d5889a4e2f25858007dc555e4/diff -xdev -printf .] failed. stderr: find: '/rootfs/var/lib/docker/overlay2/a09b3f23e1178c3234462141c1705d54081cdc3d5889a4e2f25858007dc555e4/diff': No such file or directory ; err: exit status 1, extraDiskErr: du command failed on /rootfs/var/lib/docker/containers/bf134045f4a99315787771bb7933e2092e6bacd0db440a727578c346803ece6e with output stdout: , stderr: du: cannot access '/rootfs/var/lib/docker/containers/bf134045f4a99315787771bb7933e2092e6bacd0db440a727578c346803ece6e': No such file or directory - exit status 1

another similar issue is at https://github.com/kubernetes/kubernetes/issues/66421

my minishift vm fs limit,

[docker@minishift ~]$ sysctl fs.file-nr
fs.file-nr = 2592   0   299016
-- arunp
docker
go
kubernetes
minishift
openshift

1 Answer

1/9/2020

No such file or directory happens when a container has not started or has already removed. Its harmless error

-- Suresh Vishnoi
Source: StackOverflow