Error launching Ubuntu 22.04 VM on Armbian "Vsock support is missing"

Repro Steps

  • ODROID M1 with ARM Cortex A55 CPU
  • Install Armbian Jammy onto microSD card
  • Install snapd package: apt-get install snapd
  • Install LXD: snap install lxd
  • Run LXD initialization: lxd init
  • Launch Ubuntu 22.04 LTS VM with lxc CLI
# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

Expected Result

LXD virtual machine is created.

Actual Result

# lxc launch ubuntu:22.04 --vm
Creating the instance
Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: Vsock support is missing (no /dev/vsock)

Question: How do I launch a VM with LXD on arm64 / Armbian?

The kernel used on your board doesn’t appear to support vhost-vsock which is a requirement for LXD virtual machines. You’ll need to find a kernel with that kernel module present or rebuild your own with it enabled.

1 Like