VIAVI TestCenter: Virtual license server VM unable to identify the Flex-ID USB dongle when running Ubuntu 16.04 as the base Linux OS.

Knowledge Base - FAQ

VIAVI TestCenter: Virtual license server VM unable to identify the Flex-ID USB dongle when running Ubuntu 16.04 as the base Linux OS.
• In ubuntu-16.04 guest can't see the USB device and hence issue. • libvirt upstream defect & solution :  [https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1515791] • Work around for ubunut 16.04 : • Edit the  etc/apparmor.d/abstractions/libvirt-qemu changing this line: • /dev/bus/usb/ r, • to this: • /dev/bus/usb/ rw, • and adding these two lines: • /dev/bus/usb/*/[0-9]* rw, • /run/udev/** rw, • And then restarting apparmor and libvirtd • Upgrading Ubuntu version 16.04 to 18.04 also corrects this problem.  • Upgrading the Ubuntu 16.04 server to 18.04 or later: • Login to Ubuntu box. • Patch current system by running [sudo apt update && sudo apt upgrade] • After you reboot make sure either UFW firewall is temporarily disabled or TCP port 1022 is open. • To upgrade to Ubuntu 18.04 LTS from 16.04 LTS run [sudo do-release-upgrade] • Follow on-screen instructions to upgrade to Ubuntu 18.04.