-
Notifications
You must be signed in to change notification settings - Fork 14
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
Docker-compose up returns resin-init error #46
Comments
i worked out that the resin-init-service error has something to do with
when i goto the volume dir in var/lib, i can see the config.json in the boots _data dir i know thats working. i've tried configs for both generic x86 and intel nuc. i can't seem to progress beyond this point. |
This is the snippet of code that is failing:
Still investigating the proper workaround for running in a container. |
[klutchell] This issue has attached support thread https://jel.ly.fish/5c6f6bf4-0bc4-4f2f-b97e-eb66ee51573e |
@puccaso Hi. Did you manage to run balenaos-in-container on Linux server with docker somehow? I'm struggling with these errors still. Perhaps this has something to do with the way aufs or overlay is configured on Host server, or the cgroups configuration
@klutchell maybe you have some advice |
@zumby have you checked to make sure you are using cgroups v1 and not v2 as per the readme? Does the behaviour change if you use a different OS release? |
@klutchell thanks for response FYI - this is a simple EC2 on AWS with Amazon Linux on board (x86_64)
And today I've tried the very fresh one 2.99.27_rev2-genericx86-64-ext and 2.99.27_rev2-intel-nuc FYI I've built them like that:
The result for all of them is the same: In the BalenaCloud, it does add the device but it always has check_localdisk issues: Generally, I want to achieve a device "simulation" or a "virtual" device that I can add to Balena. So the plan was to start this on EC2 in AWS and once it's in Balena - do other stuff with it, like deploy actual app. There is a slight chance it has something to do with the virtualisation at AWS EC2. |
@zumby it looks to me like your device is booted, and you can ignore those warnings. They are expected when running balenaos-in-container due to the way systemd handles pids. I would not expect your root partition to fully expand since it's a virtual docker volume, so our partition utilities cannot determine the maximum partition size. This is also expected. Is there anything blocking you from using this device as a simulation? You could also flash the genericx86-64-ext image directly to an AWS instance if you want to skip the extra layer of virtualization. Maybe this forum post can help get you started: https://forums.balena.io/t/host-balena-os-on-aws-as-a-virtual-device/304444 |
@klutchell interesting. i actually never moved forward yet (hehe) - but i will surely try to do other things and see if it blocks me. Thanks for the help and i'll comment more if i notice some troubles |
Hello.
I am running the container inside ubuntu, and the image although the image seems up, the system gets stuck at a loop between the supervisor starting up and starting libcontainer.
then I get other errors before the process seems to complete.
I can get to the console of the container, but i cant seem to see the system on the cloud dashboard.
any ideas?
puc
The text was updated successfully, but these errors were encountered: