Created
July 15, 2021 19:46
-
-
Save tchellomello/af8bf5d026b14f54b451c235dec1f571 to your computer and use it in GitHub Desktop.
Issues to start Minikube on Fedora 34 using Btrfs + LUKS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/kubernetes/minikube/issues/7923#issuecomment-701921931 | |
# check the logs to identify which device is missing | |
[mdemello@x1 awx]$ minikube logs | grep 'stat failed on /d' | |
Jul 15 19:39:58 minikube kubelet[18138]: W0715 19:39:58.825712 18138 fs.go:588] stat failed on /dev/mapper/luks-de09a217-bae0-45b0-8210-40b6023ee125 with error: no such file or directory | |
! unable to fetch logs for: describe nodes | |
Jul 15 19:39:59 minikube kubelet[18479]: W0715 19:39:59.631737 18479 fs.go:214] stat failed on /dev/mapper/luks-de09a217-bae0-45b0-8210-40b6023ee125 with error: no such file or directory | |
# in another terminal, create a symlink | |
export MISSING_MOUNT_BIND=luks-de09a217-bae0-45b0-8210-40b6023ee125 | |
docker exec -ti minikube /bin/bash -c "ln -s /dev/dm-0 /dev/mapper/$MISSING_MOUNT_BIND" | |
root@minikube:/# ls -la /dev/mapper/luks-de09a217-bae0-45b0-8210-40b6023ee125 | |
lrwxrwxrwx. 1 root root 9 Jul 15 19:42 /dev/mapper/luks-de09a217-bae0-45b0-8210-40b6023ee125 -> /dev/dm-0 | |
## issue the start command again and you should be good | |
[mdemello@x1 awx]$ minikube start | |
๐ minikube v1.22.0 on Fedora 34 | |
โจ Using the docker driver based on existing profile | |
โ docker is currently using the btrfs storage driver, consider switching to overlay2 for better performance | |
๐ Starting control plane node minikube in cluster minikube | |
๐ Pulling base image ... | |
๐ Updating the running docker "minikube" container ... | |
๐ณ Preparing Kubernetes v1.21.2 on Docker 20.10.7 ... | |
๐ Verifying Kubernetes components... | |
โช Using image gcr.io/k8s-minikube/storage-provisioner:v5 | |
๐ Enabled addons: storage-provisioner, default-storageclass | |
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default | |
[mdemello@x1 awx]$ kubectl get nodes | |
NAME STATUS ROLES AGE VERSION | |
minikube Ready <none> 74s v1.21.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the
host
: