-
Notifications
You must be signed in to change notification settings - Fork 883
rkt 1.0 not working when /var/lib/rkt is on btrfs #2175
Comments
I tested the pre-built release rkt-v1.0.0 on Debian 8.1 (Jessie) with the image ami-02b78e1f from https://wiki.debian.org/Cloud/AmazonEC2Image/Jessie and it worked for me.
At a first glance, I don't see how the kernel version or btrfs would make a difference. So it needs more investigation.
Does pressing |
My systemd version differs a little bit:
The /etc/os-release is identical to the one provided by you. Pressing What information could I provide to help debugging this issue? My knowledge about the internals of rkt are not so good, so debugging this by myself is not very promising. |
@trusch rkt 1.0 on Debian 8.0 is working fine for me (as well kvm flavor and coreos flavor) As far as I know, systemd features depend on kernel and its configuration. Are you able to reproduce this situation on kernel from non-backport repo? My /etc/os-release:
Current systemd:
Kernel version
|
I've the same issue with arch linux, systemd 229 When I start the container with --no-overlay it seems to work. |
That solved the problem for me too, when /var/lib/rkt is btrfs (on gentoo). If I mount ext4 on /var/lib/rkt, then I don't need the --no-overlay option. So, it seems to be a bad interaction between overlay and btrfs. As I recall, docker refuses to use the overlay graph driver when /var/lib/docker is btrfs, so it may be for the same reason. |
I can't test it with ext4, but can confirm that I'm using btrfs too. |
I reproduced the problem today on a fresh debian testing installation on a btrfs. rkt version: 1.1.0 Kernel: Systemd: |
rkt will not work (at least for now) if /var/lib/rkt is on btrfs, so mount tmpfs on this directory or use other filesystem for it. |
this is fixed in torvalds/linux@de17e79, which is available in linux 4.5.2 (and CoreOS >=1029.0.0) |
@trusch Based on mischief's comments can you get this working now? |
#2600 related. |
Please re-open if you can still reproduce on Linux 4.5.2+. We're also planning on adding some checks for these conditions in #2619. Thanks! |
I tried running a container under debian stable and failed.
It seems like it fails copying the requiered systemd utils (especially journald).
I'm working on a freshly installed debian jessie. The only special things about my setup are a kernel from the backports repo, and that my root filesystem is a btrfs.
When executing a container the following output occurs and the container freezes and can only be stopped by killing it the hard way (kill -9)
Some system stats:
The text was updated successfully, but these errors were encountered: