Lxd usb device and required keyword

Here is how to debug this issue:

  1. Suppose the container name is mycontainer. The logs can then be found in /var/log/lxd/mycontainer/
  2. Towards the end of lxc.conf (in /var/log/lxd/mycontainer/), it should have a lxc.mount line relating to the USB device. This line should show where, in the container, you can find the USB device. Something like dev/bus/usb/001/002. Corresponds to /dev/bus/usb/001/002 in the container. Check if this exists.
  3. Then, lxc.log (in /var/log/lxd/mycontainer/) should have lines that confirm that the device has been mounted or an error appeared. Looks for lines that mention usb or the device name you gave when configuring in the beginning.