BUG : Repport (internal error: No free USB ports)

not sure where to put this…

So I have came up with a pretty big / stupid error - when configuring VM’s.

If user tries to pass multiple USB devices to the VM **, the VM’s and the whole ui for managing them fil FAILL - reporing a message - internal error: No free USB ports. If one tries to use middleward cli, to remedy the issue, it again fails - returning the same message, and a python debug log. Trying to look for xml files and to change the configuration manually - remove the added usb devices - is also impossible, as it seems truenas scale actually generates theese XML’s but the generation process breaks, thus, the VM that is causing the issue, is not pressent in the XML files directory…

It seems that there should be some check, and a different behaviour in this case, and addition to that, how do I even fix this?

**, in my case I think I have 4, which are - Mouse, Keyboard, KRAKEN watercooling controler, and another usb controller that I think is also Kraken as well…

TrueNAS GUI has a Smile icon on upper right for Feedback / Report A Bug. You can use that for bug reportings, uploading dump file and screenshots.

1 Like

good news is that restarting the server fixes it (at least vm’s become accessible in the gui so it can be changed) – but in production environment, with many many vm’s and docker containers, adn other servises, used by many users, its reaaaaalyyyyyyyyyyyy not a great idea to restart the server to fix this…

will do!

well actually, the issue now becomes that the VM can only have 2 passed USB ports…

While you might consider that a bug, their is the Feature Request sub-section of this forum where you can request that more than 2 USB devices can be used by VMs.