Hi everybody,
I have successfully installed (i hope) open-balena and the balena-cli on the same machine, which is completely isolated from the internet.
When I run the command:
balena fleet create my-fleet-8aio --type revpi-connect-4
return
Device type slug not recognized. Perhaps misspelled?
Check available device types with “balena device-type list”
tl;dr;
Premise:
I installed open-balena successfully in an air-gapped environment. I installed all necessary .deb packages and loaded the open-balena images built on an online machine.
Initial Issue & Resolution:
The stack initially failed because I had forgotten to disable cgroup v2 (which is no longer mentioned in the manual, but was necessary for the version I was using). After disabling cgroup v2 and rebooting the system, all containers started correctly (except for the open-balena-haproxy-sidecar-1 container, which occasionally restarts, but this doesn’t seem to be the primary blocker).
Current Container Status (docker ps output):
lcladm@ansrvgem05:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
317dcea880dc balena/open-balena-vpn:11.33.8 "/usr/bin/entry.sh" 2 hours ago Up About an hour (healthy) 80/tcp, 443/tcp, 3128/tcp open-balena-vpn-1
6b078f4367c0 balena/open-balena-api:43.0.16 "/etc/s6-overlay/scr…" 2 hours ago Up About an hour (healthy) 80/tcp open-balena-api-1
2eb8def76b01 balena/open-balena-registry:2.42.0 "/usr/bin/confd-entr…" 2 hours ago Up About an hour (healthy) open-balena-registry-1
50c66dbe3718 open-balena-cert-manager "/bin/bash -c /usr/l…" 2 hours ago Up About an hour 80/tcp, 443/tcp open-balena-cert-manager-1
81fdacd298dd open-balena-haproxy-sidecar "dockerd-entrypoint.…" 2 hours ago Up About a minute 2375-2376/tcp open-balena-haproxy-sidecar-1
d240bba19026 balena/ca-private:0.0.15 "/bin/bash -c /usr/l…" 2 hours ago Up About an hour (healthy) 8888/tcp open-balena-balena-ca-1
12a902bcfd61 balena/open-balena-db:6.0.0 "/balena-entrypoint.…" 2 hours ago Up About an hour (healthy) 5432/tcp open-balena-db-1
f8aa155831f6 docker:dind "/bin/sh -c 'set -x\n…" 2 hours ago Up About an hour (healthy) 2375-2376/tcp open-balena-docker-1
e25607280bb0 open-balena-haproxy "docker-entrypoint.s…" 2 hours ago Up About an hour (healthy) 0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp, 0.0.0.0:1936->1936/tcp, [::]:1936->1936/tcp open-balena-haproxy-1
aab4db854779 redis:8.2-alpine "docker-entrypoint.s…" 2 hours ago Up About an hour (healthy) 6379/tcp open-balena-redis-1
94686cf938f3 balena/open-balena-s3:2.28.92 "/usr/bin/entry.sh" 2 hours ago Up About an hour (healthy) 80/tcp open-balena-s3-1
The command:
balena device-type list
returns an empty list, but even on the online machine I used to create the balena images, the same command returns an empty list, yet I can create fleets correctly there. I don’t understand what is going wrong here.
What checks can I perform?
Thank you.
Andrea