-
Notifications
You must be signed in to change notification settings - Fork 350
/dev/disk/by-uuid not present in lxd container #399
Comments
|
Is your root partition mounted by UUID? |
Here's the fstab on the host. It's just a digitalocean droplet:
|
thx.. could you try to mark your lxd container as unprivileged and see if the lxd defaults are successful in that case? |
@mikebrow I retried using an unprivileged container. Same result.
|
@dhain I think that is the problem. Both What happens is that:
So even inside a container,
|
@Random-Liu thanks for the analysis. I'm trying to set up a k8s cluster on LXD containers to test deployment config before moving to bare metal. I'm running containerd inside the container as well. I'm treating each container like a separate physical machine, so running the whole stack inside each. |
@dhain Hm, I'm not familiar with how LXD works, e.g. whether each container has separate mount namespace. If each LXD container has a separate mount namespace, you need to let containerd and cri-containerd share the same @ijc may know more about how to containerize cri-containerd. |
@dhain We added I'll close this issue. Further discussion will be carried on in the kubernetes issue kubernetes/kubernetes#57356. |
Trying to run cri-containerd in a lxd container, and it refuses to start because /dev/disk/by-uuid is not found:
This is a privileged container, and the overlay module is loaded, if that's relevant.
The text was updated successfully, but these errors were encountered: