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

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

Closed
mangelajo opened this issue Mar 10, 2022 · 6 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@mangelajo
Copy link
Contributor

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

@mangelajo mangelajo added the kind/bug Categorizes issue or PR as related to a bug. label Mar 10, 2022
@mangelajo mangelajo self-assigned this Mar 10, 2022
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 8, 2022
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 8, 2022
@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this as completed Aug 7, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 7, 2022

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jiridanek
Copy link
Member

/reopen

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 10, 2022

@jiridanek: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

3 participants