Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start control plane on btrfs in Fedora 35 #2555

Closed
ukazap opened this issue Nov 26, 2021 · 3 comments
Closed

Failed to start control plane on btrfs in Fedora 35 #2555

ukazap opened this issue Nov 26, 2021 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ukazap
Copy link

ukazap commented Nov 26, 2021

What happened: When creating a cluster, starting the control plane failed.

What you expected to happen: Cluster created successfully.

How to reproduce it (as minimally and precisely as possible): Run kind create cluster

Anything else we need to know?:

I'm running Fedora 35 with luks encrypted btrfs.

There appears to be an issue with ContainerManager in the kubelet.log:

Nov 26 03:51:21 kind-control-plane kubelet[978]: W1126 03:51:21.216180     978 fs.go:588] stat failed on /dev/mapper/luks-0b25d656-ca59-4fa3-8470-dcb0752b7751 with error: no such file or directory
Nov 26 03:51:21 kind-control-plane kubelet[978]: E1126 03:51:21.216207     978 kubelet.go:1384] "Failed to start ContainerManager" err="failed to get rootfs info: failed to get device for dir \"/var/lib/kubelet\": could not find device with major: 0, minor: 39 in cached partitions map"

Additional logs: https://gist.github.com/ukazap/13acef5eebb8aa06413bc58698e7426e

Environment:

  • kind version: (use kind version): kind v0.11.1 go1.16.4 linux/amd64
  • Kubernetes version: (use kubectl version): v1.22.4
  • Docker Podman version: (use docker info): 3.4.2
  • OS (e.g. from /etc/os-release): Fedora 35
@ukazap ukazap added the kind/bug Categorizes issue or PR as related to a bug. label Nov 26, 2021
@aojea
Copy link
Contributor

aojea commented Nov 26, 2021

This is a duplicate of #2411

You can read more about the issue and how to solve it in that link

I'm going to close it so we keep all the information in the same place

Thanks for reporting

@aojea aojea closed this as completed Nov 26, 2021
@ukazap
Copy link
Author

ukazap commented Nov 26, 2021

@aojea Thanks for the clarification.

@mbana
Copy link

mbana commented Feb 12, 2022

Just to add, please also see #2521 (comment) where I got it running in Fedora 35 with BTRFS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants