nestybox / nestybox/sysbox

kindbox in Ubuntu 20.04 on btrfs - Kubelet fatal error during startup

Open
#394 3 comments 0 reactions 1 assignee View on GitHub

@ctalledo is already working on this.

Since Sep 13, 2021.

bug
Dominant language
Shell
Stars
3.9k
Forks
230
Avg merge
7h 48m
Merged PRs (30d)
3

Description

Attempting to use kindbox on top of Ubuntu 20.04 running a btrfs file system produces the following fatal error in the logs during the Kubelet startup process, resulting in an inability to successfully launch the cluster.

Sep 08 23:44:54 k8s-control-plane kubelet[13550]: W0908 23:44:54.468225   13550 fs.go:565] stat failed on /dev/sda5 with error: no such file or directory
Sep 08 23:44:54 k8s-control-plane kubelet[13550]: F0908 23:44:54.468257   13550 kubelet.go:1350] Failed to start ContainerManager failed to get rootfs info: failed to get device for dir "/var/lib/kubelet": could not find device with major: 0, minor: 51 in cached partitions map

cat /proc/mounts | grep /var/lib/kubelet

/dev/sda5 /var/lib/kubelet btrfs rw,noatime,compress-force=zstd:3,ssd,space_cache,subvolid=5,subvol=/ 0 0
/dev/sda5 /var/lib/kubelet btrfs rw,noatime,compress-force=zstd:3,ssd,space_cache,subvolid=5,subvol=/ 0 0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.