Hello to everyone.
I’m playing with the jetson nano. I’ve just installed ubuntu 22.04 on top of it. Nvidia says that nothing will work on 22.04 and it is totally unsupported. Well,I’m trying to make it supported ; the first problem to overcome is to find a good alternative for the broken docker container,because it does not work.
I’ve installed lxd from source,following this tutorial :
https://linuxcontainers.org/lxd/docs/latest/installing/#installing-lxd-from-source
The problem is that “lxd init” does not work :
root@marietto-nano:/home/marietto/Scaricati/lxd# lxd init
Error: Failed to connect to local LXD: Get "http://unix.socket/1.0": dial unix
/var/lib/lxd/unix.socket: connect: no such file or directory
I tried to run lxd manually on the terminal A , the process didn’t exit and it worked partially :
marietto@marietto-nano:~/Scaricati/lxd$ lxd
Error: This must be run as root
root@marietto-nano:/home/marietto/Scaricati/lxd# lxd
WARNING[2023-04-22T00:00:20+02:00] AppArmor support has been disabled because of lack of kernel support
WARNING[2023-04-22T00:00:20+02:00] - AppArmor support has been disabled, Disabled because of lack of kernel support
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup blkio, disk I/O limits will be ignored
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup blkio.weight, disk priority will be ignored
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup CPU controller, CPU time limits will be ignored
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup CPUacct controller, CPU accounting will not be available
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup CPU controller, CPU pinning will be ignored
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup hugetlb controller, hugepage limits will be ignored
WARNING[2023-04-22T00:00:20+02:00] - Couldn't find the CGroup network priority controller, network priority will be ignored
WARNING[2023-04-22T00:00:20+02:00] Instance type not operational driver=qemu err="Vsock support is missing (no /dev/vsock)" type=virtual-machine
WARNING[2023-04-22T00:00:21+02:00] Firewall failed to detect any compatible driver, falling back to "xtables" (but some features may not work as expected due to: Backend command "ebtables" is an nftables shim)
WARNING[2023-04-22T00:00:21+02:00] Failed to initialize fanotify, falling back on inotify err="Failed to initialize fanotify: invalid argument"
so,on the terminal B I did :
root@marietto-nano:/home/marietto# lxc launch ubuntu:20.04 ubuntu2004
Creating ubuntu2004
Error: Failed instance creation: Failed creating instance record: Failed initialising instance: Failed getting root disk: No root device could be found
root@marietto-nano:/home/marietto# lxc profile device add default root disk path=/ pool=default
Device root added to default
root@marietto-nano:/home/marietto# lxc launch ubuntu:20.04 ubuntu2004
Creating ubuntu2004
Error: Failed instance creation: Failed creating instance record: Failed initialising instance: Failed loading storage pool: Storage pool not found
But since I could not run lxc through the command lxd init
, the device that I’ve created to my default profile points to a pool that wasn’t created when it should have been.
It seems there is a bug that hasn’t been fixed ?