I have created a privileged container for OpenVino based on Ubuntu 16.04, which shares USB devices and X11 privileges with its host. This works fine on my development machine (running Ubuntu 16.04), as the container sees the attached NCS2 / Movidius accelerators , but not so much on the server.
The device shows up in the container's dmesg:
[12177.898281] usb 1-11: new high-speed USB device number 34 using xhci_hcd
[12178.047115] usb 1-11: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01
[12178.047121] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12178.047126] usb 1-11: Product: Movidius MA2X5X
[12178.047130] usb 1-11: Manufacturer: Movidius Ltd.
[12178.047133] usb 1-11: SerialNumber: 03e72150
When I run my software in the server container, I am greeted with the following error message:
File "ie_api.pyx", line 389, in openvino.inference_engine.ie_api.IEPlugin.load
File "ie_api.pyx", line 400, in openvino.inference_engine.ie_api.IEPlugin.load
RuntimeError: Can not init USB device: NC_DEVICE_NOT_FOUND
The server host is running Ubuntu 18.10, but I don't believe this should be a problem. Where would you knowledgeable folk suggest that I start looking?