piraeusdatastore / piraeus

High Available Datastore for Kubernetes
https://piraeus.io/
Apache License 2.0
452 stars 52 forks source link

docker: fix udev sync in containers #179

Closed WanzenBug closed 7 months ago

WanzenBug commented 7 months ago

Next operator release mounts /run/udev into the container because that is needed to get ZFS working. However, this had the side effect of breaking LVM.

LVM is by default checking for the existence of this directory to determine if it should wait for udev events. This is however broken inside containers, so the LVM commands all time out, breaking LINSTOR with weird errors all around.

To fix this, disable the "udev_sync", so LVM no longer waits on udev events.

WanzenBug commented 7 months ago

do we intend to "backport" that for our customer containers?

I intend to backport it to the 1.27.0 containers, as those will be the ones shipped with the operator version.