Skip to content

[BUG] [AIO] failure to boot with podman / btrfs filesystem (fedora 35 and podman on osx) #629

@mangelajo

Description

@mangelajo

What happened:

microshift/kubelet fails to start

What you expected to happen:

MicroShift starting correctly

How to reproduce it (as minimally and precisely as possible):

Try to start microshift AIO on podman, under a fedora core 35 system with encrypted btrfs

Environment:

  • Microshift version (use microshift version):
  • Hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Others:

Relevant Logs

Mar 09 13:57:31 a2fec82806c3 microshift[1429]: I0309 13:57:31.303535    1429 state_mem.go:36] "Initialized new in-memory state store"
Mar 09 13:57:31 a2fec82806c3 microshift[1429]: I0309 13:57:31.303680    1429 state_mem.go:88] "Updated default CPUSet" cpuSet=""
Mar 09 13:57:31 a2fec82806c3 microshift[1429]: I0309 13:57:31.303692    1429 state_mem.go:96] "Updated CPUSet assignments" assignments=map[]
Mar 09 13:57:31 a2fec82806c3 microshift[1429]: I0309 13:57:31.303698    1429 policy_none.go:44] "None policy: Start"
Mar 09 13:57:31 a2fec82806c3 microshift[1429]: W0309 13:57:31.303720    1429 fs.go:588] stat failed on /dev/mapper/luks-4306042c-0955-4e0c-bbcf-770e8903dfc7 with error: no such file or directory
Mar 09 13:57:31 a2fec82806c3 microshift[1429]: E0309 13:57:31.303737    1429 kubelet.go:1389] "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: 35 in cached partitions map"
Mar 09 13:57:31 a2fec82806c3 systemd[1]: microshift.service: Main process exited, code=exited, status=1/FAILURE
Mar 09 13:57:31 a2fec82806c3 systemd[1]: microshift.service: Failed with result 'exit-code'.
Mar 09 13:57:31 a2fec82806c3 systemd[1]: microshift.service: Consumed 24.056s CPU time
Mar 09 13:57:31 a2fec82806c3 systemd[1]: microshift.service: Service RestartSec=100ms expired, scheduling restart.
Mar 09 13:57:31 a2fec82806c3 systemd[1]: microshift.service: Scheduled restart job, restart counter is at 22.
Mar 09 13:57:31 a2fec82806c3 systemd[1]: Stopped MicroShift.

Relevant mounts inside AIO pod:

/dev/mapper/luks-4306042c-0955-4e0c-bbcf-770e8903dfc7 on /var/lib/containers/storage/overlay type btrfs (rw,nosuid,nodev,relatime,seclabel,compress=zstd:1,ssd,space_cache,subvolid=257,subvol=/root)
/dev/mapper/luks-4306042c-0955-4e0c-bbcf-770e8903dfc7 on /var/lib/kubelet type btrfs (rw,nosuid,nodev,relatime,seclabel,compress=zstd:1,ssd,space_cache,subvolid=257,subvol=/root).

similar issue in kind: kubernetes-sigs/kind#2411

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions