Internal error while running pool VM created from template that was created from a VM with native usb redirection: internal error PIIX3 USB controller must have PCI address 0:0:1.2.
Created attachment 606174[details]
Logs
Description of problem:
When user tries to run a pool VM from a template, which was created from a VM with native USB redirection, this operation fails with internal error.
The error is: internal error PIIX3 USB controller must have PCI address 0:0:1.2.
I see two problems here:
1) USB redirection settings is not transfered to template settings (at least isn't displayed that way in webadmin)
2) In case that Pool's Console settings is set to disable USB redirection (default for pool creation) it shouldn't apply
Version-Release number of selected component (if applicable):
si15
How reproducible:
100 %
Steps to Reproduce:
1. Create a VM - have Native USB redirection set on it
2. Create a template from this VM (check the usb redirection - it's not in template as described in #1)
3. Create a pool from the template (with default settings to disable USB redirection)
4. Assign the pool to some user and try to run the pool VM.
Actual results:
Template doesn't copy USB redirection settings
While running the VM QEMU error pops up in event log - vm fails to run
Expected results:
Template should copy USB redirection settings of original VM.
VM should run with a) USB redirection disabled in case that it's disabled during pool's creation, b) with USB redirection enabled in native mode in case it wasn't and the template contains the settings
Additional info:
Attaching logs of the run failure.
Created attachment 606174 [details] Logs Description of problem: When user tries to run a pool VM from a template, which was created from a VM with native USB redirection, this operation fails with internal error. The error is: internal error PIIX3 USB controller must have PCI address 0:0:1.2. I see two problems here: 1) USB redirection settings is not transfered to template settings (at least isn't displayed that way in webadmin) 2) In case that Pool's Console settings is set to disable USB redirection (default for pool creation) it shouldn't apply Version-Release number of selected component (if applicable): si15 How reproducible: 100 % Steps to Reproduce: 1. Create a VM - have Native USB redirection set on it 2. Create a template from this VM (check the usb redirection - it's not in template as described in #1) 3. Create a pool from the template (with default settings to disable USB redirection) 4. Assign the pool to some user and try to run the pool VM. Actual results: Template doesn't copy USB redirection settings While running the VM QEMU error pops up in event log - vm fails to run Expected results: Template should copy USB redirection settings of original VM. VM should run with a) USB redirection disabled in case that it's disabled during pool's creation, b) with USB redirection enabled in native mode in case it wasn't and the template contains the settings Additional info: Attaching logs of the run failure.