balena-io / open-balena

Open source software to manage connected IoT devices at scale
https://balena.io/open
GNU Affero General Public License v3.0
1.06k stars 163 forks source link

OpenBalena - Mention KVM as Preferred Virtualization #166

Closed dtischler closed 3 months ago

dtischler commented 4 years ago

A user had issues deploying OpenBalena when using OpenVZ and Virtuozzo based VPS's, however it worked right away when he attempted a KVM based virtual server on attempt number three. Forum post is located here: https://forums.balena.io/t/180828

It might be helpful if we added a small note that we recommend a KVM based server to the Getting Started Guide: https://www.balena.io/open/docs/getting-started

jellyfish-bot commented 4 years ago

[dtischler] This issue has attached support thread https://jel.ly.fish/339334e2-6479-4c9e-82b1-cabf3a0393b2

markdegrootnl commented 2 years ago

What output are you getting when running ./scripts/compose run s3 -it --rm (make sure to run ./scripts/compose down first)?

I'm getting:

Systemd init system enabled.
Failed to look up module alias 'autofs4': Function not implemented
Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted
[!!!!!!] Failed to mount API filesystems.
Exiting PID 1...

Which is caused by cgroups version 2.

ab77 commented 3 months ago

Since all of our components are still running systemd in containers and systemd is not suitable for containers, we won't be supporting cgroups v2. We would more likely start moving slowly to a more container friendly init system, like s6.